Client-side localization
Summarize
Summary of Client-side Localization
Client-side localization allows ServiceNow customers to add customized translations to their mobile applications, extending language support beyond the default offerings of the ServiceNow AI Platform. This feature is enabled through the Mobile Custom Localization ServiceNow Store app, available from the 20.6.0 mobile client release.
Show less
Key Features
- Custom Language Support: Add languages recognized by mobile operating systems, with caution that unsupported languages may display incorrectly.
- Mobile Custom Localization App: This app provides essential mobile strings for localization and access to translation tables.
- Translation Management: Administrators are responsible for configuring and verifying translations using the ServiceNow Localization Framework.
- Screen Reader Compatibility: Ensure VoiceOver for iOS and TalkBack for Android are configured to match the app language for accurate pronunciation.
Key Outcomes
Implementing client-side localization enables a tailored mobile experience, allowing users to navigate in their preferred language. However, users must log in with the app language to access full translations, and initial custom translations will only apply after their first login. It's vital to ensure translation accuracy to avoid fallback to the default language and to consider limitations like lack of plural support in custom translations.
Add customized client-side translations to extend language support on your mobile device. You can include languages beyond those natively supported by the ServiceNow AI Platform base system.
To implement client-side translations for custom languages, you need the Mobile Custom Localization ServiceNow Store app. The ServiceNow Store app contains a set of mobile strings that automatically populates the instance with translatable strings required for localization. Access is granted to the Mobile Translated UI Elements [sys_sg_translated] table, which automatically populates the Translated Names/Fields table [sys_translated.list]. Translated values can then be displayed on your users' mobile devices.
Translations are provided by the administrators who must configure the required artifacts and use the ServiceNow Localization Framework.
- Client-side translations within your mobile app (ServiceNow Community article)
- System Localization
- Localization Workspace
- Translated Name / Field table
- Artifact configurations
- Create and configure a custom artifact
- Localization Framework artifact examples (ServiceNow Community article)
Licensing
The Mobile Custom Localization app is available from the ServiceNow Store and can be added to your ServiceNow subscription. Navigate to the ServiceNow Store, log in with your credentials, and then search for Mobile Custom Localization.
General Guidelines for client-side localization
Consider these general guidelines when customizing client-side translations.
- Custom language support
-
- Custom languages are supported only if the language is recognized by the mobile operating system.
- If a custom language isn't supported by the operating system, certain elements, such as days of the week, calendars or text direction, may display incorrectly or default to English.
- If the operating system can't render the characters of the custom language, for example, if a required font is missing, translated text may not display correctly.
- Switch instance language
-
- The translated values only apply to the instance that you're configuring.
- For Single sign-on (SSO) users, the instance language can't be selected during login. To access the full app translation, users must log in with the app language. They can then switch the instance language in the settings, provided they have the necessary permissions to select an alternative language.
- Initial user login
- Client-side custom translations aren't applied before the user's first login, for example, during the initial setup or authentication processes. However, if a user is using custom language translations when they log out, the language setting persists until they log in to a different instance.
- Translation accuracy
- Verify that all strings are accurately translated and present in the custom translation. If any strings are missing or contain incorrect placeholders, the app may fall back to the default language, potentially resulting in a mixed-language display.
- Plural support
- When creating custom translations, keep in mind that plural variants aren't supported. To accommodate this scenario, provide generic translations that make sense for all cases, such as "events: {number}" instead of "{number} event".
- Screen readers
-
- VoiceOver feature for iOS
- VoiceOver for iOS pronounces on-screen text using the device's preferred language. For more accurate VoiceOver pronunciation, match the application's language with the device's preferred language.
- For languages not supported by the operating system, VoiceOver may pronounce strings inaccurately or not at all, depending on the user's device language settings.
- The way UI translated elements, like buttons and links, are pronounced is determined by the operating system and follows the device’s language.
- TalkBack feature for Android: For an effective TalkBack experience, set both the system default language and "TalkBack text-to-speech" language to match the app language.
- VoiceOver feature for iOS
- System and permission dialogs
- System and permission dialogs are controlled by the operating system and may be displayed in various languages, including the device language, preferred language, or instance language.
- Operating system specific
-
- For iOS: Certain areas such as the app name, App Intents, shortcuts, and Siri rely on translations contained within the bundle and can't be translated at runtime.
- For Android: Languages included in the device’s base setup use their own date and time formats. For custom languages, the app falls back to a default format.