EmulationStation localization (translation)
-
cделал русский перевод. перевод полный но в нем кое что надо будет поправить в будущем.
ru_RU -
First of all, thank you all for this!
This is awesome as my kids and friends, who don't speak English, can fully enjoy my Retropie setup now!I'm running the latest Retropie 4.5.2 with underlying OS and every core updated along with the Comic Book theme and I'm experiencing something I'd call a hickup, not an issue or error.
Whenever I load a game and quit it using START+SELECT the screen becomes black ad it takes almost 15 seconds to the theme come back with my games list.
It started immediately after I compiled the emulationstation with localization and copied it over the original one.
Does anyone have any clue of what might be happening?
Thanks! -
Hi, I need a little help with GitHub. A while ago, I created a branch for the German translation: https://github.com/Taranchul/EmulationStation
Now, I want to work a little more on the German translation, but my branch is "19 commits behind flyinghead:master", as Github tells me.
How do I update my branch to the current state of @Flyinghead's master? I'm using Linux, so instructions for either the bash or the web interface of Github are welcome. Thanks!
-
@Clyde Assuming you have check out locally your Github repo, follow the instructions here to add @Flyinghead's repository as an upstream and sync it. Make your modifications locally, then push to your Github repo, so you'll be able to create a new PR to the upstream project.
-
@mitu Thank you for pointing me in the right direction. For anyone who is puzzled about this, too, these commands did the job. Anything behind
#
in a line is just a comment.git clone https://github.com/Taranchul/EmulationStation # Use the url of your own branch. cd EmulationStation # Use the directory the former command downloaded to. git remote -v # This should only show your own url as "origin". git remote add upstream https://github.com/flyinghead/EmulationStation # Don't change this url! git remote -v # Just for checking, it should list flyinghead's repo as "upstream". git fetch upstream git checkout master git merge upstream/master # Now, your LOCAL copy should match flyinghead's repo. git submodule update --init --recursive # Also clone the submodule in external/pugixml`. git push origin master # Upload your local copy to your GitHub repository.
Guides used:
- https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/configuring-a-remote-for-a-fork
- https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/syncing-a-fork
- https://help.github.com/en/github/using-git/pushing-commits-to-a-remote-repository
- http://openmetric.org/til/programming/git-pull-with-submodule/
More experienced users may correct anything that's wrong or unnecessary. :)
One more question: After editing a file and pushing it into my repo, how do I make a pull request from the command line?
Update: Added
git submodule update --init --recursive
and the resp. guide. -
I have a problem running the compiled ES fork with the German locale:
$ LANG=de_DE.UTF8 ./emulationstation terminate called after throwing an instance of 'boost::locale::conv::invalid_charset_error' what(): Invalid or unsupported charset:UTF-8 or CHARSET Aborted
With
en_US.UTF8
, the program runs fine (albeit with an extremely long time of the "Loading ..." screen). edit:fr_FR.UTF-8
also works fine.My locales seem to be okay:
$ locale -a C C.UTF-8 de_DE.utf8 en_GB.utf8 en_US.utf8 POSIX
I also re-generated the German locale with
sudo locale-gen de_DE
andsudo locale-gen de_DE.UTF8
.Any ideas?
-
Hello,
how do I install the translation on a linux mint 19.2 system? -
-
@heloisa I'm sorry, maybe I was wrong, I meant to change the emulation station language on the linux mint system.
-
@brigada Sorry. I don't know.
-
@brigada Just follow the instructions at https://github.com/flyinghead/EmulationStation and report any problems here.
-
Hello, I'm sorry that I write so late, had no time.
I get the message from linux:
retrogaming@retrogaming:~$ cd /home/retrogaming/EmulationStation retrogaming@retrogaming:~/EmulationStation$ mkdir build mkdir: das Verzeichnis »build“ kann nicht angelegt werden: Die Datei existiert bereits retrogaming@retrogaming:~/EmulationStation$ cd build retrogaming@retrogaming:~/EmulationStation/build$ cmake .. -- Looking for FreeImage... -- Checking for module 'freeimage' -- No package 'freeimage' found -- Found FreeImage: optimized;/usr/lib/x86_64-linux-gnu/libfreeimage.so;debug;/usr/lib/x86_64-linux-gnu/libfreeimage.so CMake Error at /usr/share/cmake-3.10/Modules/FindBoost.cmake:1947 (message): Unable to find the requested Boost libraries. Boost version: 1.65.1 Boost include path: /usr/include Could not find the following Boost libraries: boost_date_time boost_locale No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT to the location of Boost. Call Stack (most recent call first): CMakeLists.txt:58 (find_package) -- VLC library found -- Looking for libCEC... -- Checking for module 'libcec' -- Package 'p8-platform', required by 'libcec', not found -- Could not locate libCEC -- Native language support enabled. Building the pot file LANG = [de_DE] LANG = ca_ES LANG = de_DE LANG = es_ES LANG = fr LANG = it LANG = ja_JP LANG = ko_KR LANG = pt_BR LANG = zh_TW -- Configuring incomplete, errors occurred! See also "/home/retrogaming/EmulationStation/build/CMakeFiles/CMakeOutput.log". See also "/home/retrogaming/EmulationStation/build/CMakeFiles/CMakeError.log".
-
@brigada
cmake
reports the packagelibcec
as missing. Check which packages from the libcec family are installed:sudo apt install aptitude # install aptitude aptitude search libcec # use aptitude to search for libcec
The output of the second command should look like this:
p libcec - Meta package libCEC. i libcec-dev - libCEC communication Library (development files) v libcec-platform - p libcec-platform-dev - CEC Platform support library -- development files p libcec-platform1v5 - CEC Platform support library i A libcec4 - libCEC communication Library (shared library) p libcec4-dbgsym - debug symbols for libcec4 p libcec4-dev - libCEC communication Library (development files) p python-libcec - Python bindings for libCEC p python-libcec-dbgsym - debug symbols for python-libcec
Try to install any packages without an
i
in front of them (i
means installed) with the commandsudo apt install <package name>
and restartcmake
. Worthwhile candidates for software compilation are those ending with-dev
(development packages). After you've pinpointed the missing package, you may remove the others again withsudo apt remove <package name>
.Examples:
sudo apt install libcec-dev
sudo apt remove libcec-dev
-
Hello, it looks like this to me:
i libcec-dev - USB CEC Adaptor communication Library (dev p libcec-dev:i386 - USB CEC Adaptor communication Library (dev i A libcec4 - USB CEC Adaptor communication Library (sha p libcec4:i386 - USB CEC Adaptor communication Library (sha p libcec4-dbgsym - debug symbols for libcec4 p libcec4-dbgsym:i386 - debug symbols for libcec4 p python-libcec - Python bindings for USB CEC Adaptor p python-libcec:i386 - Python bindings for USB CEC Adaptor p python-libcec-dbgsym - debug symbols for python-libcec p python-libcec-dbgsym:i386 - debug symbols for python-libcec
-
@brigada You're actually missing some Boost related packages, libCEC is optional for installation and it's not a fatal error.
Take a look at the installation instructions and install all needed packages - https://github.com/flyinghead/EmulationStation -
GOOD EVENING, CLASS!
CAN INSTALL AND SOLVE ALL PROBLEMS
FOLLOW THE FULL, TESTED, APPROVED TUTORIAL
THANK YOU ALL! GREETINGS FROM BRAZIL!!
BY SSH INSTALL THE FOLLOWING PENDINGS
sudo apt-get update && sudo apt-get upgrade -y sudo apt install libcec sudo apt-get install libvlc-dev sudo apt-get install -y libboost-system-dev libboost-filesystem-dev libboost-date-time-dev libboost-locale-dev libfreeimage-dev libfreetype6-dev libeigen3-dev libcurl4-openssl-dev libasound2-dev cmake libsdl2-dev
THEN WAY TO SSH YOU COMPILES SO:
(overclocked 1,200mhz is much better, but not required)cd /home/pi/ git clone --recursive https://github.com/flyinghead/EmulationStation.git cd /home/pi/EmulationStation mkdir build cd build cmake .. make
THEN YOU REPLACE THE ORIGINALS BY COMPILIES
cd /home/pi/EmulationStation sudo cp ./emulationstation /opt/retropie/supplementary/emulationstation/ sudo cp -r locale /opt/retropie/supplementary/emulationstation/
THEN YOU EDIT AUTOSTART
sudo nano /opt/retropie/configs/all/autostart.sh write this in place of the original text (assuming your language is portuguese) : LANG=pt_BR.UTF8 emulationstation #auto at the terminal type: control+x y enter
ERRORS AND BUGS, FINAL CONSIDERATIONS
- If you do not replace the backward originals with your compiled ones, there will be errors using the shutdown, restart, reset emulationstation menus.
- If you do not install the basic issues does not compile.
- If you still want to test your compiles straight from them:
sudo nano /opt/retropie/configs/all/autostart.sh
LANG=pt_BR.UTF8 /home/pi/EmulationStation/emulationstation #auto
NOTE: The first "EmulationStation" notices a capital "s"!
OBS: O primeiro “EmulationStation” note um “s” maiúsculo! -
@ANDRELLVS Thanks for the compilation. One remark, though:
apt
does the same (and more) thanapt-get
, so you could just useapt
for the update, upgrade, and install commands. Its shorter to type and has no disadvantages that I know of.For more information, see https://itsfoss.com/apt-vs-apt-get-difference/.
As a side note, if you ever encounter packages that won't install because they would break existing dependencies, I can recommend aptitude. It does mostly the same as apt and apt-get, but also provides a text-based gui if it's invoked without further parameters, and it will suggest (often multiple) solutions for package dependency problems, like which packages to uninstall, replace, or keep.
edit: Re-phrased first paragraph a bit.
-
@Clyde said in EmulationStation localization (translation):
@ANDRELLVS Thanks for the compilation. One remark, though: apt does the same (and more) than apt-get, so you could just use apt for the update, upgrade, and install commands. Its shorter to type and has no disadvantages that I know of.
For more information, see https://itsfoss.com/apt-vs-apt-get-difference/.
As a side note, if you ever encounter packages that won't install because they would break existing dependencies, I can recommend aptitude. It does mostly the same as apt and apt-get, but also provides a text-based gui if it's invoked without further parameters, and it will suggest (often multiple) solutions for package dependency problems, like which packages to uninstall, replace, or keep.
edit: Re-phrased first paragraph a bit.OK man, thanks in advance for your tip. In any case, in this particular case it will work fine to avoid apt-get once.
-
Hello, I'm trying to install the French translation of Flyinghead, I followed all the tutorials, but I can't find my problem.
My concern is as soon as I launch the compiled version, whether in “/ home / pi / EmulationStation” or “/ opt / retropie / supplementary / emulationstation”, I have this message:
* failed to add service - already in use?*
So I reinstalled my previous uncompiled version in "/ opt / retropie / supplementary / emulationstation" and the EmulationStation works again but it is still in English. Suddenly, I make tests by directly launching the version compiled in “/ home / pi / EmulationStation” with the commands:
LANG=fr_FR.UTF8 ./emulationstation LANG=fr_FR.UTF-8 ./emulationstation LANG=fr_FR ./emulationstation
and I still have the message:
* failed to add service - already in use?
Can you help me?
-
@grindkaiser Looks like you're trying to install on a PI 4 - that won't work unless you compile with support for OpenGL and you're using an up-to-date RetroPie installation.
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.