10 Answer(s)
-
0
You need to add the new language as below:
public class AcmeBookStoreDomainModule : AbpModule { public override void ConfigureServices(ServiceConfigurationContext context) { Configure<AbpLocalizationOptions>(options => { options.Languages.Add(new LanguageInfo("fr", "fr", "Français", "fr")); //add this <=== options.Languages.Add(new LanguageInfo("ar", "ar", "العربية", "ae")); options.Languages.Add(new LanguageInfo("en", "en", "English", "gb")); options.Languages.Add(new LanguageInfo("fi", "fi", "Finnish", "fi")); options.Languages.Add(new LanguageInfo("tr", "tr", "Türkçe", "tr")); options.Languages.Add(new LanguageInfo("zh-Hans", "zh-Hans", "简体中文", "cn")); options.Languages.Add(new LanguageInfo("de-DE", "de-DE", "Deutsche", "de")); options.Languages.Add(new LanguageInfo("es", "es", "Español", "es")); options.Languages.Add(new LanguageInfo("sl", "sl", "Slovenščina", "si")); }); } }check out https://github.com/abpframework/abp/blob/dev/docs/en/Community-Articles/2020-11-02-How-To-Add-New-Language/POST.md
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Hello Alper,
Sorry but still same issue.
I have added the line on domain module (I'm on MVC so no ApiHostModule)
I can see fr lanuage in the "AbpLanguages" table be added by DbMigrator. (Nothing in AbpLanguageTexts, don't know if normal behavior there)
I can select French Language on UI, but still see many English strings (Like the screen on the first post)
We have tried with brand new db. Exact same Issue.
Have you any idea what we do wrong?
Thanks for your help.
Nicolas.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Nicolas each module has its own translation. in your case some of the module translations are missing. Can you create a new latest project to see if it's the same in a new project?
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Alper,
Sorry but same problem with a new projet.
The steps:
- Create new project MVC with abp suite 4.3 (abp cli 4.3)
- Add options.Languages.Add(new LanguageInfo("fr", "fr", "Français", "fr")); to the domain module
- Rebuild Solution
- Start DBMigrator
- See the DB with all tables be created (And fr row in AbpLanguages)
- Start the solution
- Still English string
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Hello Alper,
The french translations are ok with a new 4.3 project on your side?
Still the issue here.
Thanks for your help.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Ok Alper good to know.
Thanks for taking the time to check it out.
Can I ask you for an approximate release date for a 4.4 release candidate?
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Thanks for this information Alper. This can be closed.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)



