Skip to content

Translation

The-Repo-Club edited this page Dec 30, 2022 · 2 revisions

Help by translating the app to your language

Here is a quick guide for translators who want to help mLauncher, here are some of the possible methods:

Open a pull request

This is the preferred way.

  • Fork the repository png

  • Copy the strings.xml file located in mLauncher/app/src/main/res/values png

  • Create a folder values-[your-language-code] (like values-es for Spanish language) in mLauncher/app/src/main/res/ for the translated strings.xml file. png

Tip 1: to create a file subdirectory, simply add a slash (/) after the folder name to enter the folder and be able to create the files there
Tip 2: [here is a list of country codes](https://countrycode.org/)
Tip 3: - Translate all texts between the <string> and </string> tags.
Tip 4: Remember to insert a backslash \ before any apostrophe '
  • once your translated strings.xml file has been created and filled in, click on the "create new file" button

  • Perform the same operation for the files: located in mLauncher/fastlane/metadata/android/en-US

    • full_description.txt
    • short_description.txt png
  • Create a folder named like en-US but using your country code in mLauncher/fastlane/metadata/android/ for translated description files, like for the strings.xml file... it's almost done ;-)

  • With these three translated files in place, you can create the pull request, Or, if you want, make a few more small additions png

And There you go! all you have to do is wait for the developer to merge your additions...

Open an issue

If you are not familiar with pull requests, you can just open an issue and post your translation there

  • Simply download the latest version of these files:

  • Translate all texts between the <string> and </string> tags.

  • Remember to insert a backslash \ before any apostrophe '

  • Open an issue with the title: Translation in your-language

  • Share the three files in the body of the issue.

The verification and addition of your translation will be done by the developer as soon as possible

Clone this wiki locally