Hello All,
I used multilingual locales in one of my applications. Later, I removed the localization module from my Service Studio. However, I'm still facing locale-related issues across the application and its modules.
Could anyone please help me understand how to completely remove the locales from my application? Where should I check in Service Studio or OutSystems to ensure all locale references are removed?
I have already tried a few approaches, but the issue still persists.
Any guidance or suggestions would be greatly appreciated.
Thank you!
Thanks
Hello @ritu kushwaha,
In the Data tab you will find Multilingual folder delete the language you want to delete, but you will have to do this in every module inside the application.
Hi @Sherif El-Habibi,
i don't have i checked already in all module see below image
Maybe the application is still consuming the Localization module.
Try opening Manage Dependencies and refresh the module references.
if you already deleted the main Localization module that the other application modules were consuming, then the dependency should no longer exist. In that case, simply refreshing the dependent modules and republishing them should resolve the issue.
this was not the issue i already did in my service studio..
If possible, can you share the OML ?
Looking at your screenshot, it seems that only the data grid's built-in text is being translated, while everything else remains untranslated. For example, the column headers are not translated, and those translations are defined under Multilingual Locales, which you already showed is empty.
With that in mind, could you check whether your application is calling SetCurrentLocale anywhere? That would explain why only the data grid's built-in text is translated, since the grid automatically translates its built-in labels when the application's locale is set using the SetCurrentLocale action.
Hi ritu kushwaha!
Do you have any Multilingual Locales configured on any producers modules? If yes, you should remove too on that producers module, for example static records, etc...
To completely remove multilingual locales and avoid any locale-related side effects, you need to clean them in several places in Service Studio. Removing “a localization module” (or just one locale entry) is not enough; the metadata and translations can remain in other modules and still affect how the app behaves.
Below is a checklist you can follow.
Locales are defined per module, not per application. So you must check each module (especially all UI modules):
ar
ar-SA
en-US
pt-PT
Do this for:
If a module still has an Arabic locale enabled, its resources can still be translated and loaded.
Even if you delete locales, translation files may still exist and be applied when a locale is set.
For each module:
.resx
Arabic content in these translation files is what shows up in the UI when that locale is active. Multilingual Web Applications
Even if you “removed” locales, if your logic is still setting a locale (e.g., SetCurrentLocale("ar")), OutSystems will try to use it and render whatever translations exist.
SetCurrentLocale("ar")
Use Search in All Modules for:
SetCurrentLocale
GetCurrentLocale
Check these common places:
OnSessionStart of the module:
OnSessionStart -> SetCurrentLocale("ar") // REMOVE or change to your desired default
How to change the default language of an application.
Layout blocks / common blocks:
Screen actions / button handlers:
If any logic sets an Arabic locale, the UI will still try to render Arabic, even if you think you’ve removed the locale from one module.
OutSystems supports setting locale via query parameter:
?locale=ar
?locale=ar-SA
Make sure:
If your Arabic text comes from Static Entities or other data, it may not be strictly “locale” but just data:
Use Translations
Multilingual Web Applications
From your screenshot, the Arabic strings in the filter popup could come from:
If you used locale-specific images:
Locale
Otherwise, the app may still show localized graphics even after locale changes. Multilingual Web Applications
Once you’ve removed all locale references:
OnSessionStart
OnInitialize
SetCurrentLocale("en-US")
If after this cleanup you still get Arabic texts:
If you describe where the Arabic still appears (e.g., only on one popup, only on a particular table, or after certain navigation), I can help you pinpoint whether that is coming from translations, static entities, or explicit SetCurrentLocale logic.