Merge locale-provided strings into english for failover support
FREEBIE
This commit is contained in:
parent
270f626cd7
commit
5099ca0ccd
2 changed files with 9 additions and 1 deletions
|
@ -57,6 +57,8 @@
|
|||
}
|
||||
}
|
||||
|
||||
// We load locale this way and not via app.getLocale() because this call returns
|
||||
// 'es_ES' and not just 'es.' And hunspell requires the fully-qualified locale.
|
||||
var locale = osLocale.sync().replace('-', '_');
|
||||
|
||||
// The LANG environment variable is how node spellchecker finds its default language:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue