Module timeago::languages[][src]

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

belarusian
chinese
danish
english
french
german
japanese
polish
portuguese
romanian
russian
spanish
swedish
turkish

Enums

IsolangLanguage

A public use for a public dependency.

Functions

boxup

Helper function to make a language dynamically dispatched

from_isolang

Requires isolang Cargo feature