Set content locale - Fluid Topics - Latest

Fluid Topics Designer Guide

Category
Reference Guides
Audience
public
Version
Latest

The setContentLocale() method allows designers to set the current search/content locale.

For example:

FluidTopicsLocaleService.setContentLocale("fr-FR");

The value for setContentLocale must be a locale set in the Languages menu. See Manage Languages in Fluid Topics.