Render templates using a locale
You can now specify a locale in the request to render a template. The locale is used to initialize the Velocity Tools, which support internationalization. For example, you can use the NumberTool to format a price as a currency, taking the passed-in locale into account, or you can use the DateTool to display a date in a locale-specific format.
You can read more about how to use the Velocity Tools in the Velocity Template service documentation.
If you find any information that is unclear or incorrect, please let us know so that we can improve the Dev Portal content.
Use our private help channel. Receive updates over email and contact our specialists directly.
If you need more information about this topic, visit hybris Experts to post your own question and interact with our community and experts.