Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does configuring TLDR's LANG=zh and TLDR_LANGUAGE=zh on Ubuntu not work? It has always been in English? #482

Open
ruixule opened this issue Jan 1, 2025 · 14 comments

Comments

@ruixule
Copy link

ruixule commented Jan 1, 2025

As a root user, I added the command in home/admin/. bashrc, but it was still in English and did not take effect at all.
The version used is also the latest, but adding lang=zh before the instruction does not take effect

export TLDR_LANGUAGE=zh
export LANG=zh

Image

Image

Image

@spageektti
Copy link
Member

Hi. Unfortunately, our maintainers do not speak Chinese, so we kindly ask that you write your issue in English. This will help us assist you more effectively.

@ruixule ruixule changed the title ubuntu 上配置tldr 的LANG=zh 和 TLDR_LANGUAGE=zh,不生效? Does configuring TLDR's LANG=zh and TLDR_LANGUAGE=zh on Ubuntu not work? It has always been in English? Jan 1, 2025
@ruixule
Copy link
Author

ruixule commented Jan 1, 2025

Hi. Unfortunately, our maintainers do not speak Chinese, so we kindly ask that you write your issue in English. This will help us assist you more effectively.

I translated the meaning that needs to be expressed

@ruixule
Copy link
Author

ruixule commented Jan 1, 2025

Dear friend, are there any friends who have encountered the same problem as me

@spageektti
Copy link
Member

Do LANG=zh tldr ps or tldr -L zh ps work for you?

@ruixule
Copy link
Author

ruixule commented Jan 1, 2025

Do LANG=zh tldr ps or tldr -L zh ps work for you?

Not effective

@ruixule
Copy link
Author

ruixule commented Jan 2, 2025

Do LANG=zh tldr pstldr -L zh ps work for you?

Not effective

Dear Is there any other way?

@hasecilu
Copy link

hasecilu commented Jan 2, 2025

Maybe try LANGUAGE instead of LANG (for me LANG doesn't work). For me testing tldr -L zh ps for different languages works despite not having those locales installed.

@ruixule
Copy link
Author

ruixule commented Jan 2, 2025

Maybe try LANGUAGE instead of LANG (for me LANG doesn't work). For me testing tldr -L zh ps for different languages works despite not having those locales installed.

Screenshot_20250103_073533_com.alibaba.aliyun.jpg

@hasecilu
Copy link

hasecilu commented Jan 2, 2025

I meant the environment variable, LANGUAGE=zh tldr ps

@ruixule
Copy link
Author

ruixule commented Jan 3, 2025

I meant the environment variable, LANGUAGE=zh tldr ps

Screenshot_20250103_081646_com.alibaba.aliyun.jpg

@hasecilu
Copy link

hasecilu commented Jan 3, 2025

I recommend you to use the Python client, that works for me for any language, very versatile. Give it a try and maybe also works for you.

@ruixule
Copy link
Author

ruixule commented Jan 3, 2025

I recommend you to use the Python client, that works for me for any language, very versatile. Give it a try and maybe also works for you.

how to use it,cloud you give me a example?

@ruixule
Copy link
Author

ruixule commented Jan 3, 2025

I recommend you to use the Python client, that works for me for any language, very versatile. Give it a try and maybe also works for you.

how to use it,cloud you give me a example?

thanks

@ruixule
Copy link
Author

ruixule commented Jan 3, 2025

I recommend you to use the Python client, that works for me for any language, very versatile. Give it a try 和 maybe also works for you.

how to use it,cloud you give me a example?

thanks

I have successfully installed this tutorial

https://blog.csdn.net/weixin_41613490/article/details/144918152

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants