From 1e5c4bb00e5b7fdb60b6ab5fc87722595258bb3f Mon Sep 17 00:00:00 2001 From: skyace65 Date: Fri, 31 Dec 2021 13:30:59 -0500 Subject: [PATCH 1/3] Document how to test translations with the test project setting --- tutorials/i18n/img/locale_test.png | Bin 0 -> 16269 bytes tutorials/i18n/internationalizing_games.rst | 18 +++++++++++++++--- 2 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 tutorials/i18n/img/locale_test.png diff --git a/tutorials/i18n/img/locale_test.png b/tutorials/i18n/img/locale_test.png new file mode 100644 index 0000000000000000000000000000000000000000..bceb65c86c98bbedb6f39c93d936336a6ad064f8 GIT binary patch literal 16269 zcmbVzWmFv7)@>A;5TFSO?w&x9;K4%U5ZpbDySs+acyRYL1b2r7Icb7>aEG7)8h3pK z$+`F3Z@l}BH{KtrsoJ%xR@GW_%{AAqV0l?_j7Nlz?%cV9At@oEc<0W2*quA~hC%m% zJ%(nFrGU)?6CoL)J9o+>&@Z45f&cG1D2hYwl=Kn*0!H7Ff2%A?%gD>kFU`&)VVb(8 zpsG(mLf_LjL{7uX#w*9hBhDuzXKCwU+fxzB9B{(>87E=vC1)re)-7@9b~-tBptCZ9~&{BQr;z4<8j(4ca>T3{4#ntzGS% zeU7evT|I*-={cfOYAzoBlCoOgS~^7}RgKM^M5WbLG>oO?b;6@l-iRtWx&`_LM93+< zqkG906Q7}HVB-r5gMTj4fm*e;_b6)^nOeHEw084DZRUzlHDWMgw%USWl%o<&M} z_6ug-lJa`(cb16n9hEf=R(2jqsh^v_wQK5{Ik~~8pL5tb`6_E#c>4x%3o6AVz-=A9 z1x4f|V^ckRg1@(QyL$zOMJD+NMMK0@-pXmZd->}d+p=(qYQHm=Q8sRDZuJk26BJdP zot>qmWeW{YWM&hzvh&O@tjx$P$oiZcmjve%l21&@O8b;Y$H=XxZxt1n29ea3SJn#( zjpY-1yY_2cP((2&H(y%8(9qP8jZ2u5U!kzL%EjHcqicYLL&)1N(l0PpUE4S{9WEfM z5gL)Au45*vs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z}l6pK#osVu2>j~tdY^;r`22hO$mnl;}tbzzP>YtZNY}_^ zG*Qgq6Z3OWu4bCwO2^k*Yx>zWp=395glsk!pqh2KfJPz`im-v)NPUmP9S>C*wH zJq1HG4%_Y%`=$U_%@q|jinV)SoyjCbuTA1RrN|8()4cI?4$zbtOz~DN3@(!*=(*MV zSQt%VdcP)~eYlwhw9v8J+Zooba;pW_^Gy2QxPJt;{R3;t49cY&x$ySFo=rTHhyRg* zHJ^1Jx0MI{^0-{hPd-g4!_znfiZvm{}mucZK&OOvqGQ{>XY>cK{y`{X^&5f!b5q%Dbh+ZWMpSTe-D*xvBBnzot1|tF~%E5s0MiFR9 zkQqQ0v)XT2fd!Dyz&RW#{{W$2`Np!bSB<3sJ4`LpnjCy>Z%i?7sHsbj`q5^2o+>Om z%57g618Uw!ZMESL6+A!;RAAdkl9|s140D)2u+7h*1vN6By&|TVJFJLKe)qS4?9mM} z$jK!Hty=PuxE3cIRYOcMTgFZrSfbLTG|Mg0vFB_Mcl?ltm7 zkBEfhGsZ$BIdx_UP?X=+_`zTBAe8GrCV`Jb=Wahjy8S>D_;tH_=0>OaY<;2W^dg-Z z$lEub_s`83Jz}05kaGZ`{O^_{uoM9VpRB7GYj45jcn_=?pn|@_`x;;b>^dXW#sD_wvc+Sgaf&rq%m@=f@vkKtoG3>uf3d5P-RV>pj zcUBE5F6U)r`v8FK-itqd34;63p-)vy&s#HpQ)&OiKZPtg^)}^_i#R|BfX)uElH%sc w0qd}TKR;jvbnwl?{nsbCe?RfOp-UgF{j!&CNyN**_w;upMP)@wAn!i>A6b!HIsgCw literal 0 HcmV?d00001 diff --git a/tutorials/i18n/internationalizing_games.rst b/tutorials/i18n/internationalizing_games.rst index ca75e03495d8..b39d426a60b7 100644 --- a/tutorials/i18n/internationalizing_games.rst +++ b/tutorials/i18n/internationalizing_games.rst @@ -202,10 +202,22 @@ Icons with left and right pointing arrows which may need to be reversed for Arab and Hebrew locales, in case they indicate movement or direction (e.g. back/forward buttons), otherwise they can remain the same. -Command line ------------- +Testing Translations +-------------------- + +You may want to test a games translation before release, Godot provides two ways to +do this. + +First, in the project settings under **Input Devices > Locale** there is a ``Test`` property. +Set it to the locale that you want to test and Godot will run the project with that locale +from the editor. + +..image:: img/locale_test.png + +Keep in mind that as this is a project setting it will show up in version control, and it +should be set back to nothing before committing changes. -Language can be tested when running Godot from the command line. +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 supplied: From 77ef8abadd5f0a4ce47e6418151df1d92c655ae0 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Fri, 31 Dec 2021 19:48:20 +0100 Subject: [PATCH 2/3] Apply suggestions from code review --- tutorials/i18n/internationalizing_games.rst | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/tutorials/i18n/internationalizing_games.rst b/tutorials/i18n/internationalizing_games.rst index b39d426a60b7..c0429849dfad 100644 --- a/tutorials/i18n/internationalizing_games.rst +++ b/tutorials/i18n/internationalizing_games.rst @@ -202,20 +202,17 @@ Icons with left and right pointing arrows which may need to be reversed for Arab and Hebrew locales, in case they indicate movement or direction (e.g. back/forward buttons), otherwise they can remain the same. -Testing Translations +Testing translations -------------------- -You may want to test a games translation before release, Godot provides two ways to +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 it to the locale that you want to test and Godot will run the project with that locale -from the editor. +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 as this is a project setting it will show up in version control, and it -should be set back to nothing before committing changes. +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 From dde1873294f913e365eaf559f38b86311d5d236f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Fri, 29 Apr 2022 13:02:32 +0200 Subject: [PATCH 3/3] Update internationalizing_games.rst --- tutorials/i18n/internationalizing_games.rst | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/tutorials/i18n/internationalizing_games.rst b/tutorials/i18n/internationalizing_games.rst index c0429849dfad..020e5caff74e 100644 --- a/tutorials/i18n/internationalizing_games.rst +++ b/tutorials/i18n/internationalizing_games.rst @@ -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