ANS-0487 · WEB SERVICES & INTEGRATIONS
How to Change NetSuite Webstore Language Using a URL Parameter
Learn an alternative method to dynamically adjust the language of a NetSuite Webstore by directly manipulating its URL, bypassing the standard language selector.
Short answer
To change the NetSuite Webstore language via URL, construct a specific URL path including the account ID, webstore ID, and a language parameter. This method allows users to bypass the default language selector, providing a direct way to display the webstore in a desired locale, such as French (fr_FR), by appending 'setshopperlanguage=fr_FR' to the URL.
Scenario
NetSuite users may need to display their Webstore in a specific language without relying on the built-in language selector. This often occurs when direct links to localized versions of the store are required, or when integrating with external systems that need to control the displayed language programmatically.
Solution
To change the language of a NetSuite Webstore using a URL, construct the URL with the appropriate parameters. This method provides an alternative to using the NetSuite Language Selector.The base URL path for setting the shopper language locale is:
/app/site/backend/setshopperlanguagelocale.nlTo specify the desired language, append the following parameters:c: Your NetSuite account ID (e.g., cTSTDRV208029).n: The webstore ID (e.g., n1).setshopperlanguage: The locale key for the desired language (e.g., fr_FR for French).Combine these elements to form the complete URL. For example, to set the webstore language to French (fr_FR) for account TSTDRV208029 and webstore 1, the URL would be:
/app/site/backend/setshopperlanguagelocale.nl?&cTSTDRV208029&n1&setshopperlanguage=fr_FRBy using this URL, the Webstore language can be changed directly, bypassing the standard language selector.
Expert NetSuite Support
Need help with this NetSuite issue?
Web Services & Integrations consulting and configuration support
