1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00

Minor corrections

Bill Zimmerman 2018-05-28 19:14:26 +02:00
parent a74d5055d8
commit 687e4e9288

@ -1,9 +1,9 @@
### RaspAP in your language ### RaspAP in your language
Owing to its utility and low cost, the Raspberry Pi's reach extends to all corners of the globe. As our way of honoring this, we've made an effort to support internationalization (often abbreviated **i18n**) with RaspAP. Given the response from [this issue](https://github.com/billz/raspap-webgui/issues/121) it became obvious that translations are something that the community both wanted and were willing to contribute to. Owing to its utility and low cost, the Raspberry Pi's reach extends to all corners of the globe. As our way of honoring this, we've made an effort to support internationalization (often abbreviated **i18n**) with RaspAP. Given the response from [this issue](https://github.com/billz/raspap-webgui/issues/121) it became obvious that translations are something that the community both wanted and were willing to contribute to.
On Linux systems, [GNU's Gettext](https://www.gnu.org/software/gettext/) provides a standardized way of managing multi-lingual messages. In order to use Gettext, you must configure a language package on your RPi corresponding to one of our supported translations. On Linux systems, [GNU's Gettext](https://www.gnu.org/software/gettext/) provides a standardized way of managing multi-lingual messages. In order for Gettext to work with different languages, you must configure a language package on your RPi corresponding to one of our supported translations.
To list languages currently installed on your system, use `locale -a` at the shell prompt. On a fresh install of Raspian, this should return a list like the one below: To list languages currently installed on your system, use `locale -a` at the shell prompt. On a fresh install of Raspbian, this should return a list like the one below:
``` ```
$ locale -a $ locale -a
@ -13,7 +13,7 @@ en_GB.utf8
POSIX POSIX
``` ```
To generate new locales, run `sudo dpkg-reconfigure locales` and select any other desired locales. This is a [useful list](http://www.localeplanet.com/icu/iso639.html) of ISO 639 language codes. **Important**: be sure to select UTF-8 as this is the preferred encoding. To generate new locales, run `sudo dpkg-reconfigure locales` and select any other desired locales. Here is a [useful list](http://www.localeplanet.com/icu/iso639.html) of ISO 639 language codes. **Important**: be sure to select UTF-8 as this is the preferred encoding.
For example, on an RPi with many locales installed, `locale -a` would output something like this: For example, on an RPi with many locales installed, `locale -a` would output something like this: