Query localized items
You can query items that have a localized field in multiple cultures. You can query all items from a specific culture, for example all items translated in French.
In the following example, you query all dynamic items that have a localized field with a value that applies to a specific culture. To do so:
- Get an instance of the
- Resolve the name of the dynamic content type using the
- Get the localized field name for the specified culture using the
For example, a localized name for a field, called Title in French culture is Title_fr.
- Filter the data items by passing the localized field name for the culture and select the
Master version using the
As a result, you get a list of all items translated in the specified culture.