mirror of
https://github.com/alam00000/bentopdf.git
synced 2026-11-05 11:52:48 +01:00
Add complete fa locale with 1146 translated keys (266 common, 880 tools). Register 'fa' in supportedLanguages, languageNames, and SUPPORTED_LANGUAGES. Also add 'fa' to the three hardcoded language regexes in i18n.ts (getLanguageFromUrl, changeLanguage, rewriteLinks) — these are not mentioned in TRANSLATION.md, but without them /fa/ silently falls back to English. Persian is RTL, so extend the dir=rtl check from 'ar' to ['ar','fa'] in both i18n.ts and generate-i18n-pages.mjs.