name: freshrss-i18n description: Add, move, or format translation strings in FreshRSS. Use when modifying UI text that needs translation (i18n). Handles all supported languages automatically.
For instructions and commands to work with translations, make sure to obey i18n.instructions.md.
Translations strings are in app/i18n/{lang}/ as PHP arrays, used with:
_t('key.subkey')
When adding a new UI element:
cli/manipulate.translation.php or the corresponding make commands as defined in the instructions.Use in the code:
<button><?= _t('gen.action.my_new_button') ?></button>