Addresses #1757, describes the workarounds mentioned in the issue's discussion. You can view, comment on, or merge this pull request online at:
https://github.com/geany/www.geany.org/pull/22
-- Commit Summary --
* Describe how to change UI language by editing Geany shortcut
-- File Changes --
M page_content/documentation/faq.md (42)
-- Patch Links --
https://github.com/geany/www.geany.org/pull/22.patch https://github.com/geany/www.geany.org/pull/22.diff
LGTM. Tried the instructions on Windows and it worked as expected.
@elextr would mind checking with your legendary purple editing pencil? :D
@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.
@nomadbyte commented on this pull request.
@@ -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
The section's question is "How to change the UI language?". The example here relates to the choice of language, `en` English that is.
@nomadbyte pushed 1 commit.
3b9426a30e51d9ba29afcf149d3b73aed520a446 Edit wording in How to change UI language section.
@nomadbyte commented on this pull request.
@@ -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 kept the original style for consistency.
@nomadbyte pushed 1 commit.
fa8f64667578d39ad569da4f344a0cc8b8b1ce45 Clarify the use of English as an example of target UI language.
@nomadbyte commented on this pull request.
@@ -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
I pushed the changes in a new commit.
Thanks for your comments, I addressed them in two batches. The updated version is in commit [fa8f646]
@eht16 , @elextr Do you guys need any more input from me on this to get the PR going?
Fine by me. I would like to have @elextr or @codebrainz to re-read it, I'm not a native speaker.
@elextr approved this pull request.
Merged #22 into master.
Thanks!
github-comments@lists.geany.org