Plugin i18N support

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.

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

this should work now, see here for more information:

https://git.tt-rss.org/fox/tt-rss/wiki/MakingPlugins#localization-support