OpenParable
Skip to content
← Back to skills

Freshrss I18n

Development
freshrss-i18n

Freshrss I18n is an Agent Skill for development published in the FreshRSS/FreshRSS repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Add, move, or format translation strings in FreshRSS. Use when modifying UI text that needs translation (i18n). Handles all supported languages automatically.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/FreshRSS/FreshRSS/blob/HEAD/.github/skills/freshrss-i18n/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/freshrss-i18n, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

FreshRSS translation management (i18n)

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 to use this skill

  • Adding new user-facing text to the application
  • Moving/renaming or deleting existing translation keys
  • Adding a new translation file for a new feature area
  • Formatting translation files after manual edits

Workflow example

When adding a new UI element:

  1. Identify the appropriate i18n file and section, in proximity of existing strings, avoiding duplication
  2. Add a key if an appropriate string does not already exist, using cli/manipulate.translation.php or the corresponding make commands as defined in the instructions.
  3. Use in the code:
    <button><?= _t('gen.action.my_new_button') ?></button>