RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    How to edit "x games available" text in EmulationStation?

    Scheduled Pinned Locked Moved Help and Support
    menu guiretropietranslationturkish
    10 Posts 3 Posters 900 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.
    • F
      Forphs
      last edited by

      Hi, I am trying to edit all the interface of EmulationStation to another language and I managed to translate everything except that "x games available" text. Searched the internet but all I could find was about removing the text so I need some help. Does anyone knows how to edit that text to something else? Thanks!

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

        Which EmulationStation version are you using ? There are several EmulationStation forks available - some of them already translated.

        F 1 Reply Last reply Reply Quote 0
        • F
          Forphs @mitu
          last edited by

          @mitu My version is V2.10.3RP but sadly there is no translation process for Turkish in the internet. I handled it anyway but can't change that text.

          F 1 Reply Last reply Reply Quote 0
          • F
            Forphs @Forphs
            last edited by

            @Forphs I mean, handled the translations not "x games available" text.

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

              @f-caruso's EmulationStation fork (https://github.com/batocera-linux/batocera-emulationstation, used by Batocera Linux and RetroBat) has support for locale and has a Turkish translation already.

              F 1 Reply Last reply Reply Quote 0
              • F
                Forphs @mitu
                last edited by

                @mitu Thanks I will check this one but as I said I already done translating literally everything so isn't there just an easier way that I can edit that text?

                S 1 Reply Last reply Reply Quote 0
                • S
                  sleve_mcdichael @Forphs
                  last edited by

                  @Forphs it looks like that text is generated here in SystemView.cpp line #263:

                  https://github.com/RetroPie/EmulationStation/blob/86a0823c46f2c2c2be461c350c45d7cdeed361d5/es-app/src/views/SystemView.cpp#L263

                  		if (!getSelected()->isGameSystem())
                  			ss << "CONFIGURATION";
                  		else
                  			ss << gameCount << " GAME" << (gameCount == 1 ? "" : "S") << " AVAILABLE";
                  
                  F 1 Reply Last reply Reply Quote 1
                  • F
                    Forphs @sleve_mcdichael
                    last edited by

                    @sleve_mcdichael Thanks, that's the exact thing I am looking for. It's funny but I can't find the directory of it in my system. I guess the directory should be something like,
                    /opt/retropie/supplemantary/emulationstation
                    but there is no es-app folder or something.
                    Can anyone help about it please?

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

                      @Forphs said in How to edit "x games available" text in EmulationStation?:

                      @sleve_mcdichael Thanks, that's the exact thing I am looking for. It's funny but I can't find the directory of it in my system. I guess the directory should be something like,
                      /opt/retropie/supplemantary/emulationstation

                      The string pointed by @sleve_mcdichael is in the source code - you'll need to get the source code and re-compile EmulationStation in order to get it translated.
                      The package distributed by RetroPie in /opt/retropie/supplementary/emulationstation is the binary resulting from the compilation.
                      You said you translated everything else - how exactly did you do that, if you didn't alreay modified the source code ?

                      F 1 Reply Last reply Reply Quote 1
                      • F
                        Forphs @mitu
                        last edited by

                        @mitu Not really, I just translated the basic things in the menu. I made those translations for my dad so he can understand what are those things in the menu. I am the one who adds roms, configures the system etc. so I don't really need a full system translation. Anyway, thanks for your help guys. <3

                        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.