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/23 11:53] – +tested, clean-up sm8ps | dcore:locale_in_ub-dcore [2018/07/15 17:58] (current) – sm8ps | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| These instructions have been tested on ... | These instructions have been tested on ... | ||
| - | * dCore-trusty --- // | + | * dCore-trusty --- // |
| * dCore-xenial --- // | * dCore-xenial --- // | ||
| + | * dCore-bionic64 --- // | ||
| =====Preparation===== | =====Preparation===== | ||
| - | Import and load the //locales// package. | + | Import and load the //locales// package. |
| - | Review '/usr/share/i18n/SUPPORTED' | + | Either use the //lang// boot code for the desired locale |
| - | + | ||
| - | Comment | + | |
| < | < | ||
| # | # | ||
| </ | </ | ||
| + | or change that line to the desired locale directly. | ||
| - | Use the //lang// boot code instead for the desired locale (eg. '' | + | ==== Fallback Locales |
| - | + | ||
| - | For a first test '' | + | |
| - | + | ||
| - | === 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 28: | Line 24: | ||
| < | < | ||
| ~/.profile: | ~/.profile: | ||
| - | LANGUAGE=$LANG: | + | export |
| </ | </ | ||
| =====Generating Locale Files===== | =====Generating Locale Files===== | ||
| - | Create a temporary working directory (eg. ~/temp/). | + | Reboot for the changes to take effect. |
| + | |||
| + | For a first test '' | ||
| - | Create a package list in (eg. ./mylocale.lst) with all desired language choices (eg. English and German): | + | Create a temporary working directory |
| + | Create a package list there (eg. ./ | ||
| < | < | ||
| - | ./mylocale.lst: | + | ./mylocale-LIST: |
| coreutils | coreutils | ||
| bash | bash | ||
| Line 46: | Line 45: | ||
| </ | </ | ||
| - | Import the package list using '' | + | Import the package list using '' |
| - | Run '' | + | Run '' |
| ===Package Selection=== | ===Package Selection=== | ||
| Line 68: | 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, |
| <code Bash> | <code Bash> | ||
| Line 83: | Line 82: | ||
| </ | </ | ||
| - | Optionally, the extension | + | The extension |
| ===Testing=== | ===Testing=== | ||