Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Unable to add custom languages without causing "Undefined index" error. #171
I have added an Austrian language and chosen "at" language code. I know that in Austria they speak German, but still - I need to use "at" as a language code...
"qTranslate X" throws this error:
Appearently there is no arra key "at" in the array returned by
$locale = $windows_locale[$lang];
So, how to add custom (unlisted in this plugin) languages? Would you add some filter in
added a commit
Jun 2, 2015
Thank you for the report. I changed this line to
If "Locale" for language itself is set meaningfully, then it should work ok even with this waring.
Does it work for you regardless this message?