Module timeago::languages

source ·
Expand description

A collection of natural languages supported out-of-the-box for the formatting.

You can implement a language yourself by deriving the Language trait (pull requests are welcome).

The list of languages is also tracked in README.md. If you spot an error, submit a fix or point it out on Github issues. If on the other hand you have checked a language and assert that it is done properly, submit a pull request against README.md of this project.

You can also choose the language at runtime using the isolang cargo feature and from_isolang function.

Requires translations Cargo feature.

Modules

Enums

Functions

  • Helper function to make a language dynamically dispatched
  • Requires isolang Cargo feature