[Github-comments] [geany/www.geany.org] Describe how to change UI language by editing Geany shortcut (#22)

elextr notifications at xxxxx
Wed Apr 29 23:51:34 UTC 2020


@elextr requested changes on this pull request.

Couple of comments

> -'Portuguese Brazilian'). Save the file and execute it. It should start Geany 
-with the desired language assuming there is an exising translation. 
+On Windows: The easiest way is to change the Geany shortcut that was created
+during the installation. It is recommended to create a copy of the Geany
+shortcut for the desired UI language.
+
+For example, to force an English UI (`en`) right-click to select the
+Shortcut's Properties and in the `Target` field put:
+
+```
+  cmd.exe /c "set ^"LANG=en^" & start /D ^"C:\installed-path\Geany\bin\^" geany.exe"
+```
+
+Adjust the `C:\installed-path\Geany` according to your Geany installation.
+Take care to put the `^"` (carrot-quote) as shown. This is the way to escape
+the quotes-within-the-quotes. There's a space before `geany.exe`.

Make it "There is..." easier for non-english expert speakers.

> @@ -86,21 +86,49 @@ for remote files, so there is no need to disable this setting with Geany 0.16.
 
 ## How can I change the language of the user interface?
 
-On Windows: Download https://download.geany.org/contrib/geany_english.bat 
-and put it into the `bin` subdirectory in the folder where you have Geany installed, 
-next to Geany.exe. Then open the file, edit the line `set LANG=C` and replace C 
-with your the language code of your locale (e.g. 'nl for Dutch, 'pt_BR' for 
-'Portuguese Brazilian'). Save the file and execute it. It should start Geany 
-with the desired language assuming there is an exising translation. 
+On Windows: The easiest way is to change the Geany shortcut that was created
+during the installation. It is recommended to create a copy of the Geany
+shortcut for the desired UI language.
+
+For example, to force an English UI (`en`) right-click to select the

There are no previous instructions for this to be an example of, better to just make this an instruction to "Right click ...." and then say replace `en` with your language, as for `installed-path` and `C` below.

>  your locale specific environment variables accordingly.
 
+If your system supports launcher shortcuts (for example, `.desktop` files),
+then Geany's shortcut can be updated (created a new one) to add the `LANG`
+setting as shown above. In case of `.desktop` files, this usually goes into
+`Exec` line.

...the `Exec` line.

> @@ -86,21 +86,49 @@ for remote files, so there is no need to disable this setting with Geany 0.16.
 
 ## How can I change the language of the user interface?
 
-On Windows: Download https://download.geany.org/contrib/geany_english.bat 
-and put it into the `bin` subdirectory in the folder where you have Geany installed, 
-next to Geany.exe. Then open the file, edit the line `set LANG=C` and replace C 
-with your the language code of your locale (e.g. 'nl for Dutch, 'pt_BR' for 
-'Portuguese Brazilian'). Save the file and execute it. It should start Geany 
-with the desired language assuming there is an exising translation. 
+On Windows: The easiest way is to change the Geany shortcut that was created

I'm not sure why this couldn't just be a sentence "On Windows the easiest ..." but I understand its the way it was before and would require changing other systems to be the same.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/www.geany.org/pull/22#pullrequestreview-403109269
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20200429/dfec374b/attachment.htm>


More information about the Github-comments mailing list