Browse Source

Merge pull request #22756 from abpframework/auto-merge/rel-9-1/3683

Merge branch rel-9.2 with rel-9.1
pull/22758/head
maliming 10 months ago
committed by GitHub
parent
commit
ab798ac119
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 11
      docs/en/framework/fundamentals/localization.md
  2. 2
      docs/en/modules/language-management.md

11
docs/en/framework/fundamentals/localization.md

@ -248,6 +248,17 @@ namespace MyProject
The `L` property is also available for some other base classes like `AbpController` and `AbpPageModel`.
## Supported Languages
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:
```csharp
Configure<AbpLocalizationOptions>(options =>
{
options.Languages.Add(new LanguageInfo("uz", "uz", "Uzbek"));
});
```
## The Client Side
See the following documents to learn how to reuse the same localization texts in the JavaScript side;

2
docs/en/modules/language-management.md

@ -62,7 +62,7 @@ This module adds some initial data (see [the data seed system](../framework/infr
* Creates language records configured using `AbpLocalizationOptions`.
If you want to change the seeded language list, see the next section.
If you want to change the seeded language list, see the [Localization](../framework/fundamentals/localization.md#Supported-Languages) document.
## Internals

Loading…
Cancel
Save