Skip to content
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

Bug loading languages #786

Open
awello opened this issue Jul 5, 2017 · 1 comment
Open

Bug loading languages #786

awello opened this issue Jul 5, 2017 · 1 comment

Comments

@awello
Copy link
Member

awello commented Jul 5, 2017

in mockup/patterns/tinymce/pattern.js (line 308 / 310)
if (lang.split('_') > 1){
should be
if (lang.split('_').length > 1){

(same in line 310)

(if you have a portal-language like "de-de" this code can't find the "de"-fallback-translations )

@petschki
Copy link
Member

i18n.js Tool is now fixed for country specific language codes

// Fix for country specific languages
See #849 ... but you‘re right there are fallback issues.

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

No branches or pull requests

2 participants