Skip to content

How to access translated page in tldr client(linux) in terminal ? #8270

Closed Answered by navarroaxel
kbdharun asked this question in Q&A
Discussion options

You must be logged in to vote

If you check the client specification https://github.com/tldr-pages/tldr/blob/main/CLIENT-SPECIFICATION.md#arguments, the clients could implement the optional --language argument.
If you want the Spanish version of a page you can use:

tldr --language es git

But the tldr client should fallback to English If that translation doesn't exist.

Also the clients use the LANG env var to know if they should use a more specific language instead of English https://github.com/tldr-pages/tldr/blob/main/CLIENT-SPECIFICATION.md#language

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@kbdharun
Comment options

kbdharun Jul 31, 2022
Maintainer Author

@navarroaxel
Comment options

Answer selected by kbdharun
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants