Skip to content

The Rust standard library localization documentation now supports early previews in 104 languages, which can be used as smart tips for IDE tools to help Rust developers quickly understand the Rust API and improve the development efficiency and code quality of Rust engineers.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-Apache-2.0
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

kent58909/rust-library-i18n

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Early preview of Rust standard library localization documents

简体中文

The Rust standard library localization documents are released by wtklbm. The localization documents now support 104 languages. These localization documents are automatically processed by the Cmtor program based on Google Translate. Please do not submit any PR to the localization documents in this warehouse.

Rust Localized documents can be used as smart tips for IDE tools to help Rust developers quickly understand Rust API and improve the development efficiency and code quality of Rust engineers.

2021-04-19_15.23.00

Which file should I download

All the documents in this warehouse are automatically completed based on Google Translate. If you want to use the localized documents in this warehouse, you need to know what the code of your country is. For example, friends in China can download zh-CN.zip or zh-TW.zip, South Korea Friends in Japan can download ko.zip, friends in Japan can download ja.zip, friends in Germany can download de.zip, and friends in Russia can download ru.zip.

For details, see:https://cloud.google.com/translate/docs/languages

How to use Rust localized documents

Please note that all localized documents in this warehouse correspond to the Rust v1.51.0 version, please do not use this localized document for other versions.

Rust version number: rustc 1.51.0 (2fd73fabe 2021-03-23)

If you are just starting to use Rust, after Rust is successfully installed, you should also install rust-src through the rustup component add rust-src command. After installing rust-src, please follow the steps below:

  1. First get the value of the system environment variable CAROG_HOME, this value is a file path
  2. Under the CARGO_HOME folder, find a folder named .rustup, and under the folder there is a folder named toolchains
  3. In the toolchains folder, find the Rust version you are currently using and open it, for example, stable-x86_64-pc-windows-msvc on Windows
  4. Then open the lib/rustlib/src/rust directory, the folder under this directory is where the source code of the Rust standard library is located
  5. Save a copy of everything in the lib/rustlib/src/rust/library folder
  6. Download the localized document source file corresponding to this warehouse, rename it to library and place it under the lib/rustlib/src/rust folder
  7. Restart the IDE tool, and the smart prompt of the localized document starts to work
  8. Happy coding!

connection

I am a full-stack developer who loves front-end and Rust. If you have any questions about localization, please feel free to contact me.

License

MIT OR Apache-2.0

About

The Rust standard library localization documentation now supports early previews in 104 languages, which can be used as smart tips for IDE tools to help Rust developers quickly understand the Rust API and improve the development efficiency and code quality of Rust engineers.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-Apache-2.0
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published