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
{{ message }}
This repository has been archived by the owner on Aug 12, 2023. It is now read-only.
For languages like pt_pt or pt_br the logic in ImperaviRedactorAsset init() method fails because it gets only the first 2 letters of Yii language. In this case there will be no pt.js in redactor to publish and the widget fails to load.
Also, Yii uses pt-BR and redactor pt_br for setting language so an inconsistence exists. You should convert Yii format to redactor format.
The text was updated successfully, but these errors were encountered:
I agree with @marqu3s , there is a problem. My app use 'uk' as language but imperavi-redactor use ua.js for Ukrainian. Should be allowed to set the language as an option, please.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
For languages like pt_pt or pt_br the logic in ImperaviRedactorAsset init() method fails because it gets only the first 2 letters of Yii language. In this case there will be no pt.js in redactor to publish and the widget fails to load.
Also, Yii uses pt-BR and redactor pt_br for setting language so an inconsistence exists. You should convert Yii format to redactor format.
The text was updated successfully, but these errors were encountered: