Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Locale don't work with pt-br #329

Closed
is-equal opened this issue Sep 2, 2015 · 1 comment
Closed

Locale don't work with pt-br #329

is-equal opened this issue Sep 2, 2015 · 1 comment

Comments

@is-equal
Copy link

is-equal commented Sep 2, 2015

In apidoc/template/locales/locale.js

line 11

var language = langId.substr(0, 2);

Don't work with composite names for the browser language definition., my suggestion would be:

var language = langId.replace('-', '_');
@rottmann
Copy link
Member

Ok, fixed in the next version.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants