Multiple Language Versions
Closed this issue · 15 comments
Dictionaries
Right now, for simplicity and to avoid having to change the dictionary compression other languages will use a word list with the non-english A-Z characters filtered out (umlauts, tildes, etc).
UI Text
In-game messages may also be translated, but it have restrictions too:
- A-Z characters only
- Maximum line width (including any numbers if present) is 18 characters. In some cases it might be ok to use two lines for the translated version, but that will require making the popup dialog box taller.
- Some examples of the source text:
These are Solution and Dictionary word lists only, for review and correction. They are not ROM .gb or .pocket files:
German
lang_de.zip
Spanish
lang_es.zip
French
lang_fr.zip
Italian
lang_it.zip
Test build for German language
- All words with non-English
A-Z
characters are removed from the answer and dictionary lists.
GBWORDYL_0.75_de.gb.zip
New test builds, more languages
- Adds a popup-dialog at the start indicating which language (using 2-letter code)
- For non-english it adds a notice: "A..Z only, no special chars"
- Added the .pocket builds
Please let me know if there are:
- Problems with the game itself
- If the language doesn't match the ROM filename
- Solution words that are incorrect or offensive and should be removed
Game UI Text
- The game UI text is not yet translated, but if anyone wants to try for a given language then see the requirements in this comment above: #1 (comment)
And Latin - seems like a cool idea 😜
The method for accumulating the Latin dictionary and answer list was extremely haphazard, so they may be unreliable and have inaccuracies. I also don't know Latin, so will try to find some help reviewing it.
New build:
- Fixes an issue where the solution word was blank sometimes
- Now almost all printed text should be translatable (with English A-Z chars)
- German version has most UI text translated (credit: skite2001 + some google translate. I mangled some to fit it)
Default UI Language Strings:
https://github.com/bbbbbr/gb-wordle/blob/feature/multilang/src/lang_text_defaults.inc
Example of how to override them (German):
https://github.com/bbbbbr/gb-wordle/blob/feature/multilang/src/lang_de/lang_text.h
Fix stats popup bug @ 7c11aed
GBWORDYL_0.77.2_GB-and-Pocket_DE.zip
New build is posted in this thread (feel free to join the discussion there if you want):
#2
A bunch more text strings have been added which may benefit from translation in the German version.
https://github.com/bbbbbr/gb-wordle/blame/develop/src/lang_de/lang_text.h
Note: 16 is the max setting for dialog height, it's full screen (ex: DIALOG_TEXT_HEIGHT_LINES(16)
)
New build with updated German translations from skite2001 here:
#2 (comment)
New version (0.85) with multiple language support has been released
Updated Spanish UI build (v3)
GBWORDYL_0.85_ES_-_GB_and_Pocket_2022_03_26-V3.zip
Updated Spanish UI build (v4)
GBWORDYL_0.85_ES_-_GB_and_Pocket_2022_03_26-V4.zip
Updated Spanish UI build (v5)
GBWORDYL_0.85_ES_-_GB_and_Pocket_2022_03_26-V5.zip
For review:
The existing limitation applies: it uses a word list with the non-english A-Z characters filtered out (umlauts, tildes, etc).
-
PT-BR (v1): GBWORDYL_0.85.2_PT-BR.zip
-
If you don't mind, could you look through the "solution list" (it is not the full dictionary) to see if there any offensive or non-family-friendly words which should not be included? : https://github.com/bbbbbr/gb-wordle/blob/develop/compress/answers_pt-br.txt
-
If you think it is suitable to just strip the accent marks from characters (
único
->unico
) then it may be possible to increase the dictionary by a couple thousand words and make it more complete.