ComboStrap Page Metadata - Locale

About

The locale is a page metadata that contains a language and a country identifier.

Example with the default value for facebook for the english language in the united state country.

en_US

It's used for localization filtering:

  • by search engine to filter the search result (Google, …)
  • by social engine to filter the newsfeed (twitter, facebook, …).

Set

The locale can not be set directly because it's a derived value from:

This two values needs to be known to have a locale.

Support

Locale does not exist

Php uses the locales of your operating system. If you want a certain language and a certain specific region formatting, you need to install this locale.

On Linux, you can list the installed locale with

locale -a
C
C.utf8
en_US.utf8
POSIX

In this case, the region is en and the language US

Task Runner