--- title: "system.util.getAvailableLocales" description: "Returns a collection of strings representing the Locales added to the Translation Manager, such as 'en' for English." --- # system.util.getAvailableLocales > Returns a collection of strings representing the Locales added to the Translation Manager, such as 'en' for English. This function is used in **Python Scripting**. ## Description ## Client Permission Restrictions This scripting function has no [Client Permission](../../../ignition-modules/vision/vision-project-properties/vision-project-properties.md#vision-permissions-properties) restrictions. ## Syntax `system.util.getAvailableLocales()` ### Parameters Nothing ### Returns **List** - A list of Java [Locale](https://docs.oracle.com/javase/8/docs/api/java/util/Locale.html) objects. ### Scope Vision Client ## Code Examples ```python title="Example #1" #This code will take all of the available locales, and put them into a text field on the same window. collection = system.util.getAvailableLocales() locales = '' for locale in collection: if locales == '': locales += locale else: locales += ", " + locale event.source.parent.getComponent('Text Field').text = locales ```