- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2025 01:30 PM
How we can develop service portal in other language(Japanese) rather than just only in english. What are the steps or configuration we need to do? Do we need to do any special configuration or scripting or we can achieve it just installing plugins?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2025 07:53 PM
Hello @NilimaVidhate
Activate the Japanese Language Plugin.
Refer this thread which will be helpful to you to proceed further.
In Platform Language Support Guide
Solved: how to translate portal - ServiceNow Community
Localization in Service Portal – ServicePortal.io
If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.
Thanks & Regards
Viraj Hudlikar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2025 05:55 AM
1. Install Required Plugins
Multi-Language Support Plugin:
Install the Multi-Language Support plugin (com.glide.i18n).
Navigate to System Definition > Plugins and search for the plugin.
Language Packs:
Install the Japanese Language Pack plugin (com.glide.i18n.ja).
This plugin provides translations for OOB (out-of-the-box) content.
2. Enable Multi-Language Support
Activate Languages:
Go to System Definition > Languages.
Enable Japanese (or any other language) by checking the Active box.
Set Default Language:
In the same Languages table, set the Default Language (e.g., English) and Supported Languages (e.g., Japanese).
3. Translate System Messages
System Messages:
Navigate to System Definition > Messages.
Search for messages and add translations for Japanese.
Example: Translate Submit to 送信.
Import Translations:
Use the Import Set feature to bulk-upload translations if you have a large number of messages.
4. Translate Service Portal Content
Widgets:
Open each widget in the Service Portal and translate its labels, placeholders, and messages.
Example: Edit the HTML template and replace English text with Japanese:
htmlCopy<h1>Welcome</h1> <!-- English --> <h1>ようこそ</h1> <!-- Japanese -->
Page Titles and Descriptions:
Navigate to Service Portal > Pages.
Edit the page title and description in Japanese.
Dynamic Content:
Use the i18n (internationalization) framework to translate dynamic content.
Example in a Client Script:
javascriptCopygs.getMessage('Welcome'); // Returns "Welcome" in English or "ようこそ" in Japanese
5. Configure Language Preferences
User Language Preferences:
Users can set their preferred language in their profile.
Navigate to System Security > Users > [User Record] > Preferences.
Set the Language field to Japanese.
Language Selector Widget:
Add the Language Selector widget to your Service Portal.
This allows users to switch between languages dynamically.
6. Test the Service Portal
Switch Language:
Use the Language Selector widget or change your user preference to Japanese.
Verify that all text, labels, and messages are displayed in Japanese.
Check for Missing Translations:
If some content is still in English, add the missing translations in the Messages table or widget templates.
7. Advanced Customization
Custom Scripts:
If you have custom scripts, use gs.getMessage() to ensure text is translated.
Example:
javascriptCopyvar welcomeMessage = gs.getMessage('Welcome'); // Returns translated text
Language-Specific Styles:
Use CSS to adjust styles for Japanese text (e.g., font-family, line-height).
Example:
cssCopybody[lang="ja"] { font-family: "MS Gothic", sans-serif; }
SEO and Metadata:
Translate metadata (e.g., page titles, descriptions) for better SEO in Japanese.
8. Automate Translations (Optional)
If you have a large amount of content, consider using Machine Translation or Third-Party Translation Services:
Machine Translation:
Use the Translation Hub plugin (com.glide.i18n.translation_hub) to automate translations.
Configure the plugin to use a translation API (e.g., Google Translate).
Third-Party Services:
Integrate with external translation services via REST APIs.