Tiny Tiny RSS: Community

Plugin i18N support


#1

Are there any examples of a TTRSS plugin using gettext for i18n support? I’m looking to update the auth_ldap code to support i18n where needed.


#2

unfortunately there’s no plugin gettext support at the moment.

it might be possible to add multiple translation root directories but i have never personally tried. if you can figure out how to do this with php-gettext i’ll add support to trunk. per-plugin translation files can go into plugin_root/locale for example.

e: i guess that would be per-plugin text domains or something