[Github-comments] [geany/geany] Selecting Interface language (#1757)

Petros Grammatikopoulos notifications at xxxxx
Sun Jul 12 12:57:26 UTC 2020


https://github.com/geany/geany/commit/22c3dd033b9fe123cfb96004ce3a6c44230f2936#diff-803c5170888b8642f2a97e5e9423d399R417

https://github.com/geany/geany/blob/master/src/libmain.c#L473

https://github.com/geany/geany/blob/master/src/libmain.c#L984

As per [here(c_function_setlocale)](https://www.tutorialspoint.com/c_standard_library/c_function_setlocale.htm),

> If locale is NULL or the empty string "", the locale names will be set from the values of environment variables with the same names as the above categories.

Therefore I am leaving this here for future reference, for anyone wanting to include an option in the installer, by setting `null` and `""` to one of the actual existing translation locales, or fallback to no translation, for the sake of familiarity.

Windows users, at least, do not have it easy with environment variables and it was not necessarily anyone's true option to use that operating system in a non-personal environment like work or school, where administration is also sparse.

And to add to that, local administrators will distribute the software with the default option, that most certainly picks a translation locale, an unwanted effect when the option of language is unclear overal and the software is suited to programming (a task mainly done in English). This leads to more frustration and uninstallations for no reason, as this software is on the very good side past the language issue.

Sadly, I do not have the knowledge, on a technical level, to PR for this right now.

@elextr Should I open this as a new issue, as a request?


-- 
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/geany/issues/1757#issuecomment-657218476
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20200712/dea3a1d7/attachment.htm>


More information about the Github-comments mailing list