RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    EmulationStation localization (translation)

    Scheduled Pinned Locked Moved Ideas and Development
    emulationstatiolocalizationlanguageuser interface
    305 Posts 62 Posters 143.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • heloisaH
      heloisa @brigada
      last edited by

      @brigada Sorry. I don't know.

      1 Reply Last reply Reply Quote 0
      • ClydeC
        Clyde @brigada
        last edited by

        @brigada Just follow the instructions at https://github.com/flyinghead/EmulationStation and report any problems here.

        B 1 Reply Last reply Reply Quote 0
        • B
          brigada @Clyde
          last edited by brigada

          @Clyde

          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".
          
          ClydeC 1 Reply Last reply Reply Quote 0
          • ClydeC
            Clyde @brigada
            last edited by Clyde

            @brigada cmake reports the package libcec 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 command sudo apt install <package name> and restart cmake. 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 with sudo apt remove <package name>.

            Examples:

            sudo apt install libcec-dev
            
            sudo apt remove libcec-dev
            
            B 1 Reply Last reply Reply Quote 0
            • B
              brigada @Clyde
              last edited by

              @Clyde

              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 
              
              mituM 1 Reply Last reply Reply Quote 0
              • mituM
                mitu Global Moderator @brigada
                last edited by mitu

                @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

                1 Reply Last reply Reply Quote 0
                • ANDRELLVSA
                  ANDRELLVS
                  last edited by ANDRELLVS

                  GOOD EVENING, CLASS!
                  CAN INSTALL AND SOLVE ALL PROBLEMS
                  FOLLOW THE FULL, TESTED, APPROVED TUTORIAL
                  THANK YOU ALL! GREETINGS FROM BRAZIL!!

                  alt text

                  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

                  1. If you do not replace the backward originals with your compiled ones, there will be errors using the shutdown, restart, reset emulationstation menus.
                  2. If you do not install the basic issues does not compile.
                  3. 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!

                  ClydeC 1 Reply Last reply Reply Quote 2
                  • ClydeC
                    Clyde @ANDRELLVS
                    last edited by Clyde

                    @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.

                    ANDRELLVSA 1 Reply Last reply Reply Quote 0
                    • ANDRELLVSA
                      ANDRELLVS @Clyde
                      last edited by

                      @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.

                      1 Reply Last reply Reply Quote 0
                      • G
                        grindkaiser
                        last edited by

                        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?

                        mituM 1 Reply Last reply Reply Quote 0
                        • mituM
                          mitu Global Moderator @grindkaiser
                          last edited by

                          @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.

                          1 Reply Last reply Reply Quote 0
                          • G
                            grindkaiser
                            last edited by

                            Yes, i'm on Rpi 4. I think i have an up-to-date Retropie intallation. Can you explain me how to compile with support for OpenGL?

                            mituM 1 Reply Last reply Reply Quote 0
                            • mituM
                              mitu Global Moderator @grindkaiser
                              last edited by

                              @grindkaiser You need to add -DGL=On to the cmake command used to build EmulationStation, see here.

                              1 Reply Last reply Reply Quote 1
                              • G
                                grindkaiser
                                last edited by

                                I'll try it. Thanks.

                                1 Reply Last reply Reply Quote 0
                                • G
                                  grindkaiser
                                  last edited by

                                  It works. You are the best @mitu

                                  1 Reply Last reply Reply Quote 0
                                  • A
                                    AureyoBoss
                                    last edited by

                                    Hello,
                                    How to get the last version, because the version of ES on https://github.com/flyinghead/EmulationStation is an old version (2.8).
                                    Why not add the localization (translation) directly to https://github.com/RetroPie/EmulationStation ?

                                    Thanks.
                                    Bye.

                                    1 Reply Last reply Reply Quote 0
                                    • pablokk4P
                                      pablokk4 @hiulit
                                      last edited by

                                      I am trying

                                      cd /home/pi/EmulationStation
                                      LANG=es_ES.UTF8 ./emulationstation
                                      but it does´t work. The system hangd, not responding
                                      I do it through Putty

                                      pablokk4P 1 Reply Last reply Reply Quote 0
                                      • C
                                        chwo
                                        last edited by

                                        can any help?

                                        pi@retropie:~/EmulationStation $ LANG=de_DE ./emulationstation
                                        terminate called after throwing an instance of 'boost::locale::conv::invalid_charset_error'
                                          what():  Invalid or unsupported charset:UTF-8 or CHARSET
                                        
                                        
                                        ClydeC pablokk4P 2 Replies Last reply Reply Quote 0
                                        • ClydeC
                                          Clyde @chwo
                                          last edited by

                                          @chwo I ran into the same problem last November, but alas, got no answers about it.

                                          1 Reply Last reply Reply Quote 1
                                          • pablokk4P
                                            pablokk4 @pablokk4
                                            last edited by

                                            @pablokk4 .....It works
                                            Now I have to fix that it doesn't go to the console if I want to restart or turn off emulation station

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            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.