SambaPOS Forum
English Boards => Support => Topic started by: polymorpher on February 13, 2012, 05:38:00 am
-
In Samba.Localization which part of the source code initializes all available translations? I have translated SambaPOS to another language but I couldn't find a way to get it working. I have already created the resource file. When I build Samba.Localization the dll the translation is compiled to a resource file in obj folder but not a dll in bin or obj folder.
-
Hello polymorpher. Can you check this ? http://forum2.sambapos.org/index.php/topic,25.msg158.html#msg158 (http://forum2.sambapos.org/index.php/topic,25.msg158.html#msg158)
-
Hello emre, I followed the steps but the dll file for my language was still not generated (tested in both debug and release). In addition, There were nothing available to choose in Local Settings -> UI Language
-
The last required step is adding "da" to SupportedLanguages list in LocalSettings.cs file.
Did you added the language code in SupportedLanguages list?
-
I did. (Samba.Infrastructure -> Settings -> LocalSettings.cs)
-
Could it possibly be caused by incorrect format / encoding in resource file?
-
If you added the language code in supported languages list you should see it listed in Local Settings > UI Language. If you want I can check it. You can email the resource file to info@sambapos.org.
-
I figured out what was wrong. I made my translation based on "CS" language file on Google Document, which only has 889 entries. The English resource file has 932 entries so some strings were missing.
-
I will send you the translation once I have completed it and fixed all bugs.