You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@nettum Sorry, we overlooked that. We get those language files directly from Imperavi (maker of Redactor) so going to stick with their language IDs (no in this case). So instead the next release will just check if the current locale is nb or nn and if so, end up using Redactor’s no.js language file.
In craft
Craft::$app->getLocale()->getLanguageID()
returnnb
if you set "norsk bokmål" as language. Redactor usesno
:https://github.com/craftcms/redactor/blob/v2/lib/redactor/lang/no.js
https://github.com/craftcms/redactor/blob/v2/src/assets/redactor/RedactorAsset.php#L47
The correct way to differentiate between "norsk bokmål" and "norsk nynorsk" according to ISO 639-1 is to use
nb
andnn
. See https://en.wikipedia.org/wiki/List_of_ISO_639-1_codesShould
/lib/redactor/lang/no.js
be renamed to/lib/redactor/lang/nb.js
?The text was updated successfully, but these errors were encountered: