Hi,
I have a question regarding the language module. I have an multi tenant application (asp.net mvc 5 & jQuery) running on production. Now I want to support also another language. I have added an xml file in the core project. I also added an entry to the table in the database manually. I can see in the dropdown menu that the language is added but it is not translating. What do I have to do more in order to work appropiate?
Thanks in advance.
8 Answer(s)
-
0
Hi,
Actually it is better to add new language from UI but your version should work. Which language did you added ? Can you try to delete that from DB and add it from UI ? Also be sure that added language code must match with language code in your xml's name.
Thanks.
-
0
Hi,
I've added the dutch language. Culture code in xml is culture="nl" and the xml file Factura-nl.xml
-
0
Hi,
If I add a new language with it's translation via UI for every tenant that's too much work.
-
0
Hi,
Actually I only mean the language itself not the all keys. By the way, did you add your localization source according to this doc <a class="postlink" href="https://aspnetboilerplate.com/Pages/Documents/Localization#DocLocalizeXml">https://aspnetboilerplate.com/Pages/Doc ... ocalizeXml</a> ?
Thanks.
-
0
Hi,
I added via the UI a language and also in Visual Studio the [name]-nl-NL.xml file. I can see in the dropdown the language is added but nothing is being translated.
-
0
Hi @Factura,
Can you send your project to <a href="mailto:[email protected]">[email protected]</a> ?
Thanks.
-
0
Hi,
I got the same problem.
Do you have a solution for it ?
Thanks !
-
0
Hi @MichaelHilgers,
The problem @Factura having was related to not marking localization files as embeded resource. You can try to mark your localization xml files as Embeded Resource and see if it works.
Thanks.