Closed hnzero001 closed 2 years ago
Hi @hnzero001 , can you send me your translation file? Then I can test it. :)
I use version 2.2.3. I can't run the 2.3 program on my computer. I can't set the language. The program crashes. I wonder if this is the cause.
Hi @hnzero001, i have a new version that hopefully won't crash anymore. https://github.com/Triky313/AlbionOnline-StatisticsAnalysis/releases/tag/2.3.1
The item names should now also be displayed in zh-CN.
When you add a new language file, the language code must be just right and exist. Your file must be called "zh-CN.xml".
If you have any further problems, please open a new ticket.
Hello This issue also occurs in Korean settings. How can I fix it? (using V5.0.0.33154) And I looked at en-US.xml and modified it myself to create ko-KR.xml.
[https://raw.githubusercontent.com/broderickhyman/ao-bin-dumps/master/formatted/items.json] There is KO-KR among the LocalizedNames fields in the content, and the 2Byte language system is used just like Chinese. That's why I think it's possible, but it's not.
In your code, in the "ItemInformationModels.cs" file, there are get and set definitions for KO-KR in LocalizedNames.
I think you can add {GameLanguage.Korean, "EN-KR"} to Dictionary in "FrequentlyValues.cs" file.
Including "en-KR.xml" in the "StatisticsAnalysisTool.csproj" file is not necessary because it is not a frequently used language. When I create "ko-KR.xml" and put it in the language folder, the tool seems to automatically create Korean (Korean).
Please note that the text in the tool has nothing to do with the item names. Item names are taken directly from the game files.
"LocalizedNames": { "EN-US": "Hideout Construction Kit", "DE-DE": "Unterschlupf-Baukasten", "FR-FR": "Kit de construction de repaire", "RU-RU": "Набор для постройки убежища", "PL-PL": "Zestaw do budowy Kryjówki", "ES-ES": "Kit de construcción de escondites", "PT-BR": "Kit de Construção de Esconderijo", "ZH-CN": "藏身地堡建筑工具包", "KO-KR": "은신처 건설키트" },
With the example file you can see which languages are supported, if your language is included but the item names are not displayed in the correct language, then I have to take a closer look.
ZH-CN should actually be displayed. The language file must then also be called that. If necessary, I can add an option where the item names can be manually set to another language.
sorry, i don't understand. I am Korean And use the "ko-KR" language. Why can't I get the Korean item list from the item list json url? Obviously the item list json has information about "ko-KR". And the example code also has some information about "ko-KR". But I can't get the Korean item list.
Hello
Is there a proper way to display my search results in Zh CN,
The current interface is already in CN language. There is something wrong with the category name displayed.