Welcome to the Tiny Core Linux Wiki at tinycorelinux.net!

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

dcore:locale_in_ub-dcore [2018/07/15 14:55]
sm8ps Adapted to dCore-bionic64
dcore:locale_in_ub-dcore [2019/11/02 15:51] (current)
sm8ps [Create a Locales Extension]
Line 31: Line 31:
 Reboot for the changes to take effect. Reboot for the changes to take effect.
  
-For a first test ''locale'' will complain that it cannot set some LC_ variables but will then list where all but LANGUAGE and LC_ALL are set to the chosen locale code.+For a first test ''locale'' may complain that it cannot set some LC_ variables but will then show a list where all but LANGUAGE and LC_ALL are set to the chosen locale code.
  
 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):
 <code> <code>
-./mylocale.lst:+./mylocale-LIST:
 coreutils coreutils
 bash bash
Line 45: Line 45:
 </code> </code>
  
-Import the package list using ''sce-import -n -l ./mylocale.lst'' and load the extension. Be aware that this may take quite a while.+Import the package list using ''sce-import -nl ./mylocale-LIST'' and load the extension. Be aware that this may take quite a while.
  
 Run ''sudo locale-gen ''''-''''-''''archive'' to produce '/usr/lib/locale/locale-archive' containing all locales specified in the language packs. Again, this will take a while. Run ''sudo locale-gen ''''-''''-''''archive'' to produce '/usr/lib/locale/locale-archive' containing all locales specified in the language packs. Again, this will take a while.
Line 82: Line 82:
 </code> </code>
  
-The extension should be included into 'sceboot.lst' so as to have it automatically loaded at boot.+The extension name "mylocale" should be included into 'sceboot.lst' so as to have it automatically loaded at boot.
  
 ===Testing=== ===Testing===
Line 89: Line 89:
  
 === Cleanup === === Cleanup ===
-The extensions //locales// and //mylocale.lst// (but not //mylocale//!) can be removed together with the temporary directory.+The extensions //locales// and //mylocale-LIST// (but not //mylocale//!) can be removed together with the temporary directory.
  
 **[[http://wiki.tinycorelinux.net/dcore:welcome|> Return to the dCore Wiki Welcome page]]** **[[http://wiki.tinycorelinux.net/dcore:welcome|> Return to the dCore Wiki Welcome page]]**
Print/export