vibe.d beta banner
get vibe.d
0.8.3

Asynchronous I/O that doesn’t get in your way, written in D

Module vibe.web.i18n

Internationalization/translation support for the web interface module.

Functions

NameDescription
determineLanguageByHeader(accept_language, allowed_languages) Determines a language code from the value of a header string.
extractDeclStrings(text)
tr(key, context) Performs the string translation for a statically given language.
translationContext() Annotates an interface method or class with translation information.

Structs

NameDescription
TranslationContextAttribute

Templates

NameDescription
translationModule Makes a set of PO files available to a web interface class.

Aliases

NameTypeDescription
languageSeq CTX.languages
Authors

Sönke Ludwig

Copyright

© 2014-2017 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.