-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting up default locale #98
Comments
Try open the page in incognito mode. Iirc the default locale is cache in
Sent from my iPhone |
Looks like I am having the same problem too. Followed everything as in the doc, tried in incognito mode but still the default locale is not changed |
After a year later...
|
Hi
I am trying to set the default locale and my configuration is as below.
`var localeConf = {
basePath: 'languages',
defaultLocale: 'ta-IN',
sharedDictionary: 'common',
fileExtension: '.lang.json',
persistSelection: true,
cookieName: 'COOKIE_LOCALE_LANG',
observableAttrs: new RegExp('^data-(?!ng-|i18n)'),
delimiter: '::',
validTokens: new RegExp('^[\w.-]+.[\w\s.-]+\w(:.*)?$')
};
var localeSupported = [
'ta-IN',
'fr-FR',
'en-US'
]
var localeFallbacks = {
'ta': 'ta-IN',
'en': 'en-US',
'fr': 'fr-FR'
}`
But i could not see the output for ta-IN.
Tested it with en-US and its working. Maintained the same folder structure too.
The text was updated successfully, but these errors were encountered: