Files
bentopdf/scripts
Kouros Zanbouri e5901f662f Add Farsi (Persian) translation
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.
2026-07-31 12:51:54 +01:00
..