Skip to content

Instantly share code, notes, and snippets.

@fredriccliver
Created September 11, 2020 10:52
Show Gist options
  • Save fredriccliver/533e61612c39342169133d3ea41c4009 to your computer and use it in GitHub Desktop.
Save fredriccliver/533e61612c39342169133d3ea41c4009 to your computer and use it in GitHub Desktop.
interface Locale {
label: string
value: string
}
interface Constants {
localeList: Array<Locale>
}
let CONSTANTS: Constants = {
localeList: [
{ label: "๐Ÿ‡ฌ๐Ÿ‡ง English UK", value: "en-GB" },
{ label: "๐Ÿ‡บ๐Ÿ‡ธ English USA", value: "en-US" },
{ label: "๐Ÿ‡ฉ๐Ÿ‡ช German", value: "de-DE" },
{ label: "๐Ÿ‡ซ๐Ÿ‡ท French", value: "fr-FR" },
{ label: "๐Ÿ‡ฐ๐Ÿ‡ท Korean", value: "ko-KR" },
{ label: "๐Ÿ‡ฎ๐Ÿ‡น Italian", value: "it-IT" },
{ label: "๐Ÿ‡ท๐Ÿ‡บ Russian", value: "ru-RU" },
{ label: "๐Ÿ‡ธ๐Ÿ‡ช Swedish", value: "sv-SE" },
{ label: "๐Ÿ‡ฏ๐Ÿ‡ต japan", value: "ja-JP" },
{ label: "๐Ÿ‡ช๐Ÿ‡ธ Espaรฑol in Spain", value: "es-ES" },
{ label: "โ˜ช๏ธ Arabic multi-region", value: "ar-XA" }
]
}
export default CONSTANTS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment