EmulationStation localization (translation)
-
@flyinghead WOAW excellent if it is merged you have released one of my ES dream :p
I have download and compile it on my PI, replace the file on the directory if i understand fine :/opt/retropie/supplementary/emulationstation-dev
I don't found emulationstation on an other place ...
Restart my PI, and nothing :(
I can't found any option in MENU to change ENGLISH to FRENCH to try your work.
I think i have not replacing the good file or i miss something :(I have read your french translation on GIT and it is perfect :)
-
@darknior It uses the current environment language. You can change it systemwide by editing /etc/default/locale:
LANG=fr_FR.UTF-8 -
@flyinghead said in EmulationStation localization (translation):
@darknior It uses the current environment language. You can change it systemwide by editing /etc/default/locale:
LANG=fr_FR.UTF-8Thanks a lot.
It is already in FRENCH, all is in french on my PI lol
But ES is always in english.
Where is your emulationstation exe ?
Maybe i don't change the good one. -
It should go into /opt/retropie/supplementary/emulationstation but there's a new folder "locale" that must be copied as well.
-
@flyinghead Yes i have try it too ...
/opt/retropie/supplementary/emulationstation
/opt/retropie/supplementary/emulationstation-devIn the two directories because for my part i use the dev version.
And i create :locale/emulationstation2.pot
locale>lang
locale>lang>fr
locale>lang>fr>emulationstation2.po
locale>lang>fr>LC_MESSAGES>emulationstation2.poTwo time the file "emulationstation2.po" to be sure ... but same all is always in english for me :(
-
Try to run it directly from the build directory:
LANG=fr_FR.UTF-8 ./emulationstation -
@flyinghead said in EmulationStation localization (translation):
LANG=fr_FR.UTF-8 ./emulationstation
I try to do it and WOAW it works really fine, so excellent to see ES in french lol
After i close it, copy the LOCALE dir from build directory and now it works fine too.
Your work is really perfect, i really wish it will be add as official on the Es-DEV git.I think it can ba a good idea to add a langage selection in UI SETTINGS to let the user force what he want. But using linux locale LANG by default is really a good idea :)
Will you make a pull request on git ?
-
@flyinghead How can we add other languages?
-
@hiulit I tink by adding some new .po files like here https://github.com/flyinghead/EmulationStation/tree/master/locale/lang/fr/LC_MESSAGES
And change "fr" to "de", "it", "es", "ru" ...
In action :
-
-
@flyinghead said in EmulationStation localization (translation):
I used boost::locale for this implementation, although it seems the current trend is to get rid of it.
Really thanks a lot for it :)
But like you write you use BOOST and they try to remove it from ES source code :(
Can you found an other solution to be sure your work will be add to the official ES ?
Thanks -
@darknior how to compile your emulationstation in retropie? Please help me, I do not have great knowledge.
-
@doriann I can't explain all to you, you must know a little linux, git, and ssh.
You must connect your PI with SSH.
Use PI user, go to /home/pi create a /src/ directory
And :git clone --recursive https://github.com/flyinghead/EmulationStation.git
cd EmulationStation
mkdir src
cd src
cmake . .
make
cd ..Launch it with LANG=fr_FR.UTF-8 ./emulationstation
Or replace the real one in /opt/retropie/supplementary/emulationstation
And don't forgot the locale directory. -
@darknior thanks for reply. I'll try to change the language and tell you if I can. Who knows later you do not create a step-by-step tutorial. Thank you very much
-
Hi everybody,
Thanks for the tutorial.
I launch the translation with LANG=fr_FR.UTF-8 ./emulationstation
But if I close Putty, ES returns to English.
I did not understand the last step for ES to stay in French.
Can you explain how to fix it?thank you in advance
-
@a12c4 I am personally not really interested, but I think this is a really good idea and would be good for many players.
-
@nofxman You only have to replace the original ES file by the new you have compiled.
And add this directory with french files : /tree/master/locale/lang/fr/LC_MESSAGESThanks @Flyinghead to update your fork yesterday ;)
-
it would be nice to choose the language that you want in emulationstation configurations would be huge
-
hi
Yes, I'm interested and I'm willing to help with Catalan translation.
-
nice
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.