tldr-pages / tldr-c-client

C command-line client for tldr pages
MIT License
296 stars 49 forks source link

ro locale not recognised / read from pages.ro #60

Open cipy opened 3 years ago

cipy commented 3 years ago

Reproduction Rate

<How often could you reproduce this issue, how often do you tried?>

every time

Steps to Reproduce

- set locale to the Romanian language sudo apt install tldr tldr todoist ## Result todoist page is shown in English ## Expected Result tldr should show the Romanian page ## Additional Information latest, Raspbian OS, Linux raspberry 5.10.52-v7+ #1441 SMP
cipy commented 3 years ago

$ locale
LANG=ro_RO.UTF-8
LANGUAGE=ro_RO.UTF-8
LC_CTYPE="ro_RO.UTF-8"
LC_NUMERIC="ro_RO.UTF-8"
LC_TIME="ro_RO.UTF-8"
LC_COLLATE="ro_RO.UTF-8"
LC_MONETARY="ro_RO.UTF-8"
LC_MESSAGES="ro_RO.UTF-8"
LC_PAPER="ro_RO.UTF-8"
LC_NAME="ro_RO.UTF-8"
LC_ADDRESS="ro_RO.UTF-8"
LC_TELEPHONE="ro_RO.UTF-8"
LC_MEASUREMENT="ro_RO.UTF-8"
LC_IDENTIFICATION="ro_RO.UTF-8"
LC_ALL=ro_RO.UTF-8
cipy commented 3 years ago

tldr --update doesn't seem to change/fix anything

marchersimon commented 3 years ago

From looking through the source code it doesn't look like this client even supports different languages. Did you try this for other languages?