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

The du and df do not switch languages ​​according to environment. #15479

Closed
Jinshijiming opened this issue Jan 10, 2025 · 8 comments
Closed

Comments

@Jinshijiming
Copy link

Jinshijiming commented Jan 10, 2025

  1. use tldr-python-client
  2. set the environment TLDR_LANGUAGE, LANG, and LANGUAGE to zh
  3. tldr du and tldr df still display English
@acuteenvy
Copy link
Member

Please translate what you've written to English and edit the issue. Most maintainers don't speak Chinese.

@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.

@witt-bit
Copy link
Collaborator

witt-bit commented Jan 11, 2025

我使用的是tldr python客户端 设置了TLDR_LANGUAGE,LANG,LANGUAGE三个环境变量为zh 然后tldr du,tldr df 仍然显示英文

These two commands lack Chinese translation, which will be fixed soon

@Jinshijiming
Copy link
Author

我使用的是tldr python客户端 设置了TLDR_LANGUAGE,LANG,LANGUAGE三个环境变量为zh 然后tldr du,tldr df 仍然显示英文

这两个命令缺少中文翻译,即将修复

Tldr du - L zh will display the Chinese version.
Environment variables do not affect the command(tldr du).

@zhuliangxuan
Copy link

I use tldr with npm install, as ping, ip command do'not show Chinese

@witt-bit
Copy link
Collaborator

@zhuliangxuan @Jinshijiming

For issues with the python client, please submit to https://github.com/tldr-pages/tldr-python-client. npm, ping, and ip lack Chinese translations. If you are interested, you can submit PR.

@Managor
Copy link
Collaborator

Managor commented Jan 15, 2025

Please translate the opening post and title to english.

@witt-bit witt-bit changed the title du df 两个命令不会根据环境变量切换语言 The du and df do not switch languages ​​according to environment. Jan 16, 2025
@acuteenvy
Copy link
Member

These pages weren't translated to Chinese. Fixed in #15488 & #15466.

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

6 participants