Skip to content

Add function for determining whether an object is localized #121

Description

@jimmythomson

If a property is localised, we get back an object that looks like this...

{
  en: 'English text',
  fr: 'French text,
  fr-CA: 'French Canadian text'
}

In order to know whether an object is truly a localised object, we need to validate that all of the keys are valid locales.

We need a function that encapsulates this piece of logic.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions