• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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 123.9k 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.
  • N
    Neoskyriper @djuanes
    last edited by Neoskyriper 4 Aug 2018, 19:09 8 Apr 2018, 17:53

    nice

    A 1 Reply Last reply 8 Apr 2018, 18:03 Reply Quote 0
    • A
      A12C4 @Neoskyriper
      last edited by 8 Apr 2018, 18:03

      @neoskyriper He is just answering to my original message, which asked if people were interested if I add official localization support to ES.

      Before you ask anything related, I have nothing to do with the unofficial localization support which were posted some messages ago. Ask the author directly if you want some kind of support.

      Grid view wiki

      F 1 Reply Last reply 8 Apr 2018, 18:39 Reply Quote 0
      • F
        Flyinghead @A12C4
        last edited by 8 Apr 2018, 18:39

        @a12c4 Needless to say, I'm interested in having official localization support in ES, and I'm willing to help.

        1 Reply Last reply Reply Quote 0
        • H
          HarioH @darknior
          last edited by 10 Apr 2018, 21:30

          @darknior said in EmulationStation localization (translation):

          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_MESSAGES

          @darknior Hi, i'm stuck as @nofxman , working fine when i manually launch ES with LANG=fr_FR.UTF-8 ./emulationstation
          but when i replace emulationstation by my freshly compiled one, i got an error and it won't launch :-(

          The error :
          lvl0: Error - File type unknown! emulationstation: /src/EmulationStation/es-core/src/resources/Font.cpp:17: Font::FontFace::FontFace(ResourceData&&, int): Assertion `!err' failed. Aborted

          Any idea ?
          Can't i just script launch "LANG=fr_FR.UTF-8 ./emulationstation" ?

          And a big thank for your job @Flyinghead , i love it ;-)

          M F 2 Replies Last reply 10 Apr 2018, 21:34 Reply Quote 0
          • M
            mitu Global Moderator @HarioH
            last edited by 10 Apr 2018, 21:34

            @harioh said in EmulationStation localization (translation):

            Can't i just script launch "LANG=fr_FR.UTF-8 ./emulationstation" ?

            You can modify the autostart.sh script and replace the default emulationstation program execution with the line above.

            1 Reply Last reply Reply Quote 0
            • F
              Flyinghead @HarioH
              last edited by 10 Apr 2018, 21:43

              @harioh You also need to copy the entire "resources" directory to /opt/retropie/supplementary/emulationstation

              1 Reply Last reply Reply Quote 0
              • H
                HarioH
                last edited by 13 Apr 2018, 17:40

                @mitu @Flyinghead Perfect, combining you're tips, i got it working ^^

                An other question, what if i want to change some word on the translation table ? do i need to re-compile again ?

                I tryied to manually change the .po files with no luck

                F 1 Reply Last reply 13 Apr 2018, 17:41 Reply Quote 0
                • F
                  Flyinghead @HarioH
                  last edited by Flyinghead 13 Apr 2018, 17:41

                  @harioh Excellent! If you want to change some translation, you need to recompile. The .po is compiled into a .mo that's used by the app at runtime.

                  H 1 Reply Last reply 13 Apr 2018, 18:19 Reply Quote 0
                  • H
                    HarioH @Flyinghead
                    last edited by HarioH 13 Apr 2018, 18:19

                    @flyinghead I'll give it a try tomorrow so ! thanks

                    Edit : Recompiled the new .po file, copy/paste, working perfect ^^ GG

                    1 Reply Last reply Reply Quote 0
                    • H
                      heloisa
                      last edited by heloisa 6 Aug 2018, 01:24 7 Jun 2018, 21:41

                      @Flyinghead @darknior Hi. I translated emulationstation2.po to Portuguese Brazil, but I didn't understand how to apply translation. Help me. Tks

                      D F 2 Replies Last reply 8 Jun 2018, 07:43 Reply Quote 2
                      • D
                        darknior @heloisa
                        last edited by 8 Jun 2018, 07:43

                        @heloisa Woaw cool :)
                        So bad we can't pull request it or open an issue on the @Flyinghead GIT.
                        Watch on the git where is the french file and make same for your file. Think your system must be in Portugese too, because this ES use it to choose the language.

                        Life is game, just play it !

                        H 1 Reply Last reply 8 Jun 2018, 13:16 Reply Quote 1
                        • F
                          Flyinghead @heloisa
                          last edited by 8 Jun 2018, 08:11

                          @heloisa You should be able to create a pull request on my fork. I also added the Issues list.
                          Or if you post your translation file here, I will commit it to the repository.

                          D H 3 Replies Last reply 8 Jun 2018, 09:55 Reply Quote 2
                          • D
                            darknior @Flyinghead
                            last edited by 8 Jun 2018, 09:55

                            @flyinghead Cool, thanks excellent :)
                            Will you continue to update your branch ? You don't do it from the 20 may.
                            It 's to have the GRID VIEW updates, i will try to add this view to my skin ;)

                            Life is game, just play it !

                            F 1 Reply Last reply 8 Jun 2018, 11:10 Reply Quote 1
                            • F
                              Flyinghead @darknior
                              last edited by 8 Jun 2018, 11:10

                              @darknior said in EmulationStation localization (translation):

                              Will you continue to update your branch ?

                              Done. I haven't been able to test the new grid mode though.

                              A 1 Reply Last reply 8 Jun 2018, 11:24 Reply Quote 0
                              • A
                                A12C4 @Flyinghead
                                last edited by 8 Jun 2018, 11:24

                                @flyinghead Why don't you share your modifications with the community by sending pull requests to RetroPie's repository ? Not just talking about localization, you seems to have made other modifications to emulation station.

                                Grid view wiki

                                D F 2 Replies Last reply 8 Jun 2018, 11:36 Reply Quote 1
                                • D
                                  darknior @A12C4
                                  last edited by 8 Jun 2018, 11:36

                                  @a12c4 Yes other modifications are interesting, i think it is a good idea too :)
                                  But for translation the community don't want to use this code :(

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

                                  I really wish some one will do it on officiel branch because it is one of the advantage of Recalbox, the localisation, but i don't like it.

                                  Life is game, just play it !

                                  1 Reply Last reply Reply Quote 0
                                  • F
                                    Flyinghead @A12C4
                                    last edited by 8 Jun 2018, 11:40

                                    @a12c4 It doesn't look like there's much interest in my changes. See https://github.com/RetroPie/EmulationStation/issues/421

                                    D cyperghostC 2 Replies Last reply 8 Jun 2018, 12:17 Reply Quote 1
                                    • D
                                      darknior @Flyinghead
                                      last edited by 8 Jun 2018, 12:17

                                      @flyinghead said in EmulationStation localization (translation):

                                      @a12c4 It doesn't look like there's much interest in my changes. See https://github.com/RetroPie/EmulationStation/issues/421

                                      So bad because your idée is really interesting ...

                                      Life is game, just play it !

                                      1 Reply Last reply Reply Quote 0
                                      • H
                                        heloisa @darknior
                                        last edited by 8 Jun 2018, 13:16

                                        @darknior Tks for reply. Yes, my system is in portuguese. I'll try again :)

                                        1 Reply Last reply Reply Quote 0
                                        • H
                                          heloisa @Flyinghead
                                          last edited by 8 Jun 2018, 13:26

                                          @flyinghead Tks!! I'm new at using these tools. I will review and send the translation to you soon.

                                          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.

                                            This community forum collects and processes your personal information.
                                            consent.not_received