@@ -60,7 +60,6 @@ You can configure the behavior and output of the `tldr` client by setting enviro
6060 export TLDR_CACHE_MAX_AGE=720
6161 export TLDR_PAGES_SOURCE_LOCATION="https://raw.githubusercontent.com/tldr-pages/tldr/master/pages"
6262 export TLDR_DOWNLOAD_CACHE_LOCATION="https://tldr-pages.github.io/assets/tldr.zip"
63- export TLDR_LANGUAGE="en"
6463
6564### Cache
6665
@@ -109,16 +108,16 @@ Any of the values of above may be omitted. For example, you can do similar thing
109108* ` TLDR_COLOR_PARAMETER="red on_yellow underline" ` for underlined red text on yellow background
110109* ` TLDR_COLOR_NAME="bold underline" ` for default system font and background colors with underline and bolded effects
111110
112- ### Language
111+ ### Language
113112
114113The language that tldr will use is dependent on a number of factors. If you specify a language via the
115114` --language ` flag, tldr will attempt to use that language and only that language. Otherwise, it will
116- default to language set using either ` TLDR_LANGUAGE ` before falling back to ` LANG ` (ignoring the value ` C ` ).
117- If neither are set, then tldr will always attempt to get the ` en ` page. Finally, if ` LANGUAGES ` is set, it uses
118- this as the priority list to try languages in, with the exception that it will attempt ` TLDR_LANGUAGE ` and ` LANG `
119- first, and if neither are set, will use ` en ` last (assuming it does not already appear somewhere in ` LANGUAGES ` ).
115+ default to language set using ` LANGUAGE ` and ` LANG ` (ignoring the value ` C ` and ` POSIX ` ).
116+ If neither are set, then tldr will always attempt to get the ` en ` page. Finally, if ` LANG ` is set, it uses ` LANGUAGE ` , if set,
117+ first as the priority list to try languages in, followed by ` LANG ` if not included in ` LANGUAGE `
118+ and ` en ` as fallback (assuming it does not already appear somewhere in ` LANGUAGE ` or ` LANG ` ).
120119All language values should be set to a value that follows [ RFC 1766] ( https://tools.ietf.org/html/rfc1766.html ) ,
121- with the special exception of ` C ` which is ignored.
120+ with the special exception of ` C ` and ` POSIX ` which is ignored.
122121
123122### Remote source
124123
0 commit comments