YOURLS-fa_IR

September 8, 2026 · View on GitHub

فارسی (Farsi / Persian) translation of YOURLS.

Install

  1. Download fa_IR.po and fa_IR.mo
  2. Drop both files into user/languages/ of your YOURLS install
  3. Add this to your user/config.php:
    define( 'YOURLS_LANG', 'fa_IR' );
    
  4. Done — the admin interface is now in Farsi, with RTL (dir="rtl") layout

Notes

  • Built from the official YOURLS.pot (YOURLS 1.10.3 template, 307 strings)
  • Includes the text direction context string (ltrrtl) so YOURLS switches the whole interface to RTL
  • Farsi number formatting: thousands separator ٬ (U+066C), decimal point ٫ (U+066B)
  • Translated days/months keep the _initial / _abbreviation suffixes required by YOURLS's calendar hacks

Contribute

Fork, edit fa_IR.po, rebuild with msgfmt fa_IR.po -o fa_IR.mo, open a PR.

License

Do whatever the hell you want with it.