Skip to content

Commit a34958f

Browse files
authored
Merge pull request #22742 from abpframework/maliming-patch-2
Update language-management.md
2 parents 45b9978 + 9daea8a commit a34958f

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

docs/en/framework/fundamentals/localization.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,17 @@ namespace MyProject
248248

249249
The `L` property is also available for some other base classes like `AbpController` and `AbpPageModel`.
250250

251+
## Supported Languages
252+
253+
You can configure the `AbpLocalizationOptions`'s `Languages` property to add the languages supported by the application. The template already sets common languages, but you can add new languages as shown below:
254+
255+
```csharp
256+
Configure<AbpLocalizationOptions>(options =>
257+
{
258+
options.Languages.Add(new LanguageInfo("uz", "uz", "Uzbek"));
259+
});
260+
```
261+
251262
## The Client Side
252263

253264
See the following documents to learn how to reuse the same localization texts in the JavaScript side;

docs/en/modules/language-management.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ This module adds some initial data (see [the data seed system](../framework/infr
6262

6363
* Creates language records configured using `AbpLocalizationOptions`.
6464

65-
If you want to change the seeded language list, see the next section.
65+
If you want to change the seeded language list, see the [Localization](../framework/fundamentals/localization.md#Supported-Languages) document.
6666

6767
## Internals
6868

0 commit comments

Comments
 (0)