Mercurial > libervia-backend
annotate src/bridge/bridge_constructor/constructors/mediawiki/mediawiki_template.tpl @ 2249:e572482f6cbd
core (tools/common/template): i18n support
- babel has been added as a new dependencies, and should replace gettext in core in the future
- added i18n support in template rendered
- current locale is available as babel Locale in templates through "locale" variable
- locales can be changed before rendering using setLocale
- for now, all locales translations are loaded on init, and stay in cache. A more complex cache system may be needed in the future (e.g. keeping only most used and load others from files when needed).
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 21 May 2017 15:59:47 +0200 |
parents | da4097de5a95 |
children |
rev | line source |
---|---|
740
aebc8ba05129
bridge (constructor): added categories for the mediawiki export
souliane <souliane@mailoo.org>
parents:
278
diff
changeset
|
1 [[Catégorie:Salut à Toi]] |
aebc8ba05129
bridge (constructor): added categories for the mediawiki export
souliane <souliane@mailoo.org>
parents:
278
diff
changeset
|
2 [[Catégorie:documentation développeur]] |
aebc8ba05129
bridge (constructor): added categories for the mediawiki export
souliane <souliane@mailoo.org>
parents:
278
diff
changeset
|
3 |
278 | 4 = Overview = |
5 This is an autogenerated doc for SàT bridge's API | |
6 = Signals = | |
7 ##SIGNALS_PART## | |
8 = Methods = | |
9 ##METHODS_PART## | |
10 ---- | |
11 ##TIMESTAMP## |