#152

Add Persian (fa-IR) Localization and RTL Support

OpenDeioces120wants to merge intofrom

Add Persian (fa-IR) Localization and RTL Support

Summary

This pull request introduces Persian (fa-IR) localization support for CyberStrikeAI.

Added

  • Persian language (fa-IR)
  • RTL (Right-to-Left) support
  • Persian language selector entry
  • Persian UI translations
  • Persian localization metadata

Fixed

  • Fixed undefined lang reference in initI18n
  • Fixed incorrect language label selection logic in updateLangLabel
  • Added missing lang.faIR entries to localization files

UI Improvements

  • RTL-aware layout
  • RTL sidebar support
  • RTL form support
  • RTL dropdown alignment
  • RTL navigation behavior

Translation Coverage

  • More than 2400 translated UI strings
  • Dashboard localization
  • Project management localization
  • Agent management localization
  • Settings localization
  • Task management localization

Compatibility

This implementation follows the existing i18n architecture and does not affect existing English or Chinese users.

Persian is spoken by more than 100 million users worldwide and this localization can help expand CyberStrikeAI adoption in Persian-speaking communities.

Testing

The localization was tested for language switching, RTL rendering, and i18n integration.

If you find any issues, untranslated strings, RTL problems, or localization bugs during review or testing, please let me know. I will be happy to provide fixes, improvements, and follow-up patches.

Thank you for reviewing this contribution.