[GH-ISSUE #3566] Added Farsi (fa) localization but not showing in UI language list #1279

Closed
opened 2026-03-07 21:02:02 +03:00 by kerem · 2 comments
Owner

Originally created by @maryam4s26 on GitHub (Jul 6, 2025).
Original GitHub issue: https://github.com/dbeaver/cloudbeaver/issues/3566

Hi,
I’m trying to add Farsi (fa) localization support.

What I did:

  1. Added "fa" to supportedLanguages in LocalizationService:
this.setSupportedLanguages([
  { isoCode: 'en', ... },
  { isoCode: 'fa', name: 'Farsi', nativeName: 'فارسی' },
  ...
]);
  1. Created fa.js under locales/ folder, just like other languages.
  2. Registered it in coreProvider:
case 'fa':
  return (await import('./locales/fa.js')).default;

Expected:
Farsi should appear in the dropdown alongside English, etc.

Actual:
Farsi does not appear in the UI dropdown at all.

Question:
Is there any other place I should register or configure the new locale to make it appear in the UI language list?

Thanks a lot for your help! 🙏

Originally created by @maryam4s26 on GitHub (Jul 6, 2025). Original GitHub issue: https://github.com/dbeaver/cloudbeaver/issues/3566 Hi, I’m trying to add Farsi (fa) localization support. What I did: 1. Added "fa" to supportedLanguages in [LocalizationService](https://github.com/dbeaver/cloudbeaver/blob/devel/webapp/packages/core-localization/src/LocalizationService.ts#L114): ``` this.setSupportedLanguages([ { isoCode: 'en', ... }, { isoCode: 'fa', name: 'Farsi', nativeName: 'فارسی' }, ... ]); ``` 2. Created fa.js under locales/ folder, just like other languages. 3. Registered it in [coreProvider](https://github.com/dbeaver/cloudbeaver/blob/devel/webapp/packages/core-localization/src/LocalizationService.ts#L197): ``` case 'fa': return (await import('./locales/fa.js')).default; ``` Expected: Farsi should appear in the dropdown alongside English, etc. Actual: Farsi does not appear in the UI dropdown at all. Question: Is there any other place I should register or configure the new locale to make it appear in the UI language list? Thanks a lot for your help! 🙏
kerem 2026-03-07 21:02:02 +03:00
Author
Owner

@sergeyteleshev commented on GitHub (Jul 7, 2025):

Hey!
You did everything alright! Just one more step required to make things work
Go to this file and extend languages with your own (see the screenshot)
After that, rebuild the app (backend + frontend), and you will see the language in the settings

Image

<!-- gh-comment-id:3044511734 --> @sergeyteleshev commented on GitHub (Jul 7, 2025): Hey! You did everything alright! Just one more step required to make things work Go to [this file](https://github.com/dbeaver/cloudbeaver/blob/7f353e9169b1bc8ce7e8ffbe0ecd3845a66c7bcf/server/bundles/io.cloudbeaver.server/plugin.xml) and extend languages with your own (see the screenshot) After that, rebuild the app (backend + frontend), and you will see the language in the settings ![Image](https://github.com/user-attachments/assets/81db0f3f-fc65-4b8b-a4e2-ab25713fd523)
Author
Owner

@maryam4s26 commented on GitHub (Jul 7, 2025):

Hey! You did everything alright! Just one more step required to make things work Go to this file and extend languages with your own (see the screenshot) After that, rebuild the app (backend + frontend), and you will see the language in the settings

Image

Thank you for your guidance. I followed the steps and it’s working as expected now.

<!-- gh-comment-id:3044587686 --> @maryam4s26 commented on GitHub (Jul 7, 2025): > Hey! You did everything alright! Just one more step required to make things work Go to [this file](https://github.com/dbeaver/cloudbeaver/blob/7f353e9169b1bc8ce7e8ffbe0ecd3845a66c7bcf/server/bundles/io.cloudbeaver.server/plugin.xml) and extend languages with your own (see the screenshot) After that, rebuild the app (backend + frontend), and you will see the language in the settings > > ![Image](https://github.com/user-attachments/assets/81db0f3f-fc65-4b8b-a4e2-ab25713fd523) Thank you for your guidance. I followed the steps and it’s working as expected now.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cloudbeaver#1279
No description provided.