Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
dcore:locale_in_ub-dcore [2017/09/25 17:15] – [Create a Locales Extension] sm8ps | dcore:locale_in_ub-dcore [2018/07/15 17:58] (current) – sm8ps | ||
---|---|---|---|
Line 6: | Line 6: | ||
* dCore-trusty --- // | * dCore-trusty --- // | ||
* dCore-xenial --- // | * dCore-xenial --- // | ||
+ | * dCore-bionic64 --- // | ||
=====Preparation===== | =====Preparation===== | ||
Line 15: | Line 16: | ||
# | # | ||
</ | </ | ||
- | or change that line to the desired locale directly. | + | or change that line to the desired locale directly. |
- | For a first test '' | + | ==== Fallback Locales |
- | + | ||
- | === Fallback Locales === | + | |
International users may want US English as a fallback to be stored in LANGUAGE (source: [[https:// | International users may want US English as a fallback to be stored in LANGUAGE (source: [[https:// | ||
Line 25: | Line 24: | ||
< | < | ||
~/.profile: | ~/.profile: | ||
- | LANGUAGE=$LANG: | + | export |
</ | </ | ||
=====Generating Locale Files===== | =====Generating Locale Files===== | ||
+ | |||
+ | Reboot for the changes to take effect. | ||
+ | |||
+ | For a first test '' | ||
Create a temporary working directory (eg. ~/temp/). | Create a temporary working directory (eg. ~/temp/). | ||
- | Create a package list there (eg. ./mylocale.lst) with all desired language choices (eg. English and German): | + | Create a package list there (eg. ./mylocale-LIST) with all desired language choices (eg. English and German): |
< | < | ||
- | ./mylocale.lst: | + | ./mylocale-LIST: |
coreutils | coreutils | ||
bash | bash | ||
Line 42: | Line 45: | ||
</ | </ | ||
- | Import the package list using '' | + | Import the package list using '' |
Run '' | Run '' | ||
Line 64: | Line 67: | ||
<code Bash> | <code Bash> | ||
mkdir -p ./ | mkdir -p ./ | ||
- | sudo mv / | + | sudo cp -a / |
</ | </ | ||
The directory is packed into a SquashFS-file, | The directory is packed into a SquashFS-file, | ||
Line 79: | Line 82: | ||
</ | </ | ||
- | Optionally, the extension | + | The extension |
===Testing=== | ===Testing=== | ||