These are chat archives for SightstoneOfficial/LegendaryClient

2nd
Aug 2015
Ed V
@eddy5641
Aug 02 2015 03:19
dependencies for what?
LC you can just find it in the ide (All should be there or on nuget)
BTW im adding multi lang in the noddragon branch so who knows a language other than english?
Martin Konstantin Herrmann
@voshond
Aug 02 2015 06:04
Ger here
How is your implementation planned?
My idea was to get all localization files from a folder with the Lang file and add it to a combobox with a fallback to default when a string is missing.
Martin Konstantin Herrmann
@voshond
Aug 02 2015 06:09
this way you could simply add any language and users could create a pull request pretty easy too
Martin Konstantin Herrmann
@voshond
Aug 02 2015 06:18
With the langfilename as the name for the language* so folder/English.whatever results in an English entry in the combobox, so we don't have to hardcode any language in except the English fallback.
And what file type you will use. I googled and there are many, seems .net has resjson?
Ed V
@eddy5641
Aug 02 2015 19:03
I am using the ResourceDictionary method
Basically they just change the content of the string
The things in "{" and "}" are changed by Sightstone because some languages are like reverse of english
Ed V
@eddy5641
Aug 02 2015 20:08
basically every language has to be in sightstone and manually placed in. However, we will be able to place the text directly into the .xaml files so we don't have to do things like LoadLanguage() in .cs files.