/cat command + spanish support + better language handling
This commit is contained in:
parent
0ba6f50d6f
commit
db2081419b
5 changed files with 138 additions and 5 deletions
|
@ -1,7 +1,17 @@
|
|||
const languageFiles = {
|
||||
'pt': '../locales/portuguese.json',
|
||||
'pt-br': '../locales/portuguese.json',
|
||||
'en': '../locales/english.json'
|
||||
'pt-pt': '../locales/portuguese.json',
|
||||
'en': '../locales/english.json',
|
||||
'en-us': '../locales/english.json',
|
||||
'en-gb': '../locales/english.json',
|
||||
'es': '../locales/spanish.json',
|
||||
'es-es': '../locales/spanish.json',
|
||||
'es-mx': '../locales/spanish.json',
|
||||
'es-ar': '../locales/spanish.json',
|
||||
'es-co': '../locales/spanish.json',
|
||||
'es-cl': '../locales/spanish.json',
|
||||
'es-pe': '../locales/spanish.json',
|
||||
};
|
||||
|
||||
function getStrings(languageCode) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue