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 135.2k 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.
    • darkniorD
      darknior
      last edited by

      HI @A12C4 :)
      Some news about your localisation option for ES ?
      I know it is so many work to release ... nut i dream to see it for my little children :p

      "Comme tu le sais en France on est pas des crack en Anglais, et surtout pas en école maternelle et primaire lol
      Et ça les Anglais et Ricain ont un peu du mal à le comprendre je crois ... évidement que pour les adultes c'est différent :)"

      Life is game, just play it !

      A12C4A 1 Reply Last reply Reply Quote 0
      • A12C4A
        A12C4 @darknior
        last edited by

        @darknior I don't know when or even if I will finish this feature. I don't really have time atm, and I first need to finish the GridView.

        If someone is willing to work on it, he is welcome.

        Grid view wiki

        1 Reply Last reply Reply Quote 1
        • M
          Matbog
          last edited by

          @a12c4 said in EmulationStation localization (translation):

          Yes, I'm interested and I'm willing to help with translations

          For Italian.

          1 Reply Last reply Reply Quote 0
          • A12C4A
            A12C4
            last edited by

            @BuZz So what is your final opinion on this feature ? People look interested so I wonder if I can start working on it.

            Grid view wiki

            1 Reply Last reply Reply Quote 1
            • darkniorD
              darknior
              last edited by

              Yes please make it ...
              For the moment i must trick and translate my skin to have a FRENCH ES, but it is impossible for the menu :(

              0_1517173611975_RVGM Skin PSX.jpg
              0_1517173618823_RVGM Skin SNES.jpg

              I also work a lot on the Webtropie project.
              Now this excellent program is 100% US and FR and near finished for the version 1.0
              Like for it you can be sure i will help you here ;)

              0_1517173850700_skin.jpg

              Life is game, just play it !

              1 Reply Last reply Reply Quote 0
              • ?
                A Former User
                last edited by

                I'd help, but I don't know many languages. I'm learning french right now, but I don't think it would help me out. The other languages are some indian languages that I can't read or write at all, but can speak. I can ask some people to help me out with the translations though.

                1 Reply Last reply Reply Quote 0
                • FlyingheadF
                  Flyinghead
                  last edited by

                  Hello,

                  I took the liberty to do a localisation of EmulationStation based on the Retropie fork. It's available here: https://github.com/flyinghead/EmulationStation
                  I took inspiration from the work done in the recalbox fork. It currently supports English and French but other languages can be added with a new message file.

                  I used boost::locale for this implementation, although it seems the current trend is to get rid of it.
                  It was the easiest and shortest route for me...

                  darkniorD hiulitH StrawberryS 4 Replies Last reply Reply Quote 6
                  • darkniorD
                    darknior @Flyinghead
                    last edited by

                    @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 :)

                    Life is game, just play it !

                    FlyingheadF 1 Reply Last reply Reply Quote 0
                    • FlyingheadF
                      Flyinghead @darknior
                      last edited by

                      @darknior It uses the current environment language. You can change it systemwide by editing /etc/default/locale:
                      LANG=fr_FR.UTF-8

                      darkniorD 1 Reply Last reply Reply Quote 0
                      • darkniorD
                        darknior @Flyinghead
                        last edited by

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

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

                        Life is game, just play it !

                        FlyingheadF 1 Reply Last reply Reply Quote 0
                        • FlyingheadF
                          Flyinghead @darknior
                          last edited by

                          It should go into /opt/retropie/supplementary/emulationstation but there's a new folder "locale" that must be copied as well.

                          darkniorD 1 Reply Last reply Reply Quote 0
                          • darkniorD
                            darknior @Flyinghead
                            last edited by

                            @flyinghead Yes i have try it too ...

                            /opt/retropie/supplementary/emulationstation
                            /opt/retropie/supplementary/emulationstation-dev

                            In 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.po

                            Two time the file "emulationstation2.po" to be sure ... but same all is always in english for me :(

                            Life is game, just play it !

                            FlyingheadF 1 Reply Last reply Reply Quote 0
                            • FlyingheadF
                              Flyinghead @darknior
                              last edited by

                              Try to run it directly from the build directory:
                              LANG=fr_FR.UTF-8 ./emulationstation

                              darkniorD 1 Reply Last reply Reply Quote 0
                              • darkniorD
                                darknior @Flyinghead
                                last edited by

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

                                Life is game, just play it !

                                1 Reply Last reply Reply Quote 0
                                • hiulitH
                                  hiulit @Flyinghead
                                  last edited by

                                  @flyinghead How can we add other languages?

                                  My little contributions to the RetroPie project:

                                  • Shell-Script-Boilerplate
                                  • Fun-Facts-Splashscreens
                                  • Limit-Last-Played-Games
                                  darkniorD FlyingheadF 2 Replies Last reply Reply Quote 0
                                  • darkniorD
                                    darknior @hiulit
                                    last edited by darknior

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

                                    Life is game, just play it !

                                    1 Reply Last reply Reply Quote 1
                                    • FlyingheadF
                                      Flyinghead @hiulit
                                      last edited by

                                      @hiulit @darknior is right: create a new directory for the language, for example locale/lang/de/LC_MESSAGES then create a new emulationstation2.po file in it with the new language. Compile and you're done.

                                      1 Reply Last reply Reply Quote 1
                                      • darkniorD
                                        darknior @Flyinghead
                                        last edited by

                                        @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

                                        Life is game, just play it !

                                        1 Reply Last reply Reply Quote 0
                                        • D
                                          Doriann
                                          last edited by

                                          @darknior how to compile your emulationstation in retropie? Please help me, I do not have great knowledge.

                                          darkniorD 1 Reply Last reply Reply Quote 0
                                          • darkniorD
                                            darknior @Doriann
                                            last edited by

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

                                            Life is game, just play it !

                                            D 1 Reply Last reply Reply Quote 2
                                            • 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.