Skip to content

Commit

Permalink
Update internationalizing_games.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
akien-mga authored Apr 29, 2022
1 parent 77ef8ab commit dde1873
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions tutorials/i18n/internationalizing_games.rst
Original file line number Diff line number Diff line change
Expand Up @@ -205,14 +205,19 @@ buttons), otherwise they can remain the same.
Testing translations
--------------------

You may want to test a project's translation before releasing it. Godot provides two ways to
do this.
You may want to test a project's translation before releasing it. Godot provides two ways
to do this.

First, in the Project Settings, under **Input Devices > Locale**, there is a **Test** property. Set this property to the locale code of the language you want to test. Godot will run the project with that locale when the project is run (either from the editor or when exported).
First, in the Project Settings, under **Input Devices > Locale**, there is a **Test**
property. Set this property to the locale code of the language you want to test. Godot will
run the project with that locale when the project is run (either from the editor or when
exported).

..image:: img/locale_test.png

Keep in mind that since this is a project setting, it will show up in version control when it is set to a non-empty value. Therefore, it should be set back to an empty value before committing changes to version control.
Keep in mind that since this is a project setting, it will show up in version control when
it is set to a non-empty value. Therefore, it should be set back to an empty value before
committing changes to version control.

Translations can also be tested when running Godot from the command line.
For example, to test a game in French, the following argument can be
Expand Down

0 comments on commit dde1873

Please sign in to comment.