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

Translations bug #125

Open
Master-Spirit opened this issue Sep 26, 2024 · 1 comment
Open

Translations bug #125

Master-Spirit opened this issue Sep 26, 2024 · 1 comment

Comments

@Master-Spirit
Copy link

Master-Spirit commented Sep 26, 2024

When installing strapi-plugin-ckeditor version 1.0.2, the dashboard shows a white screen and an error appears in the console:

Error: Module not found in bundle: ./translations/ru.json
    at chunk-AXPVERYL.js?v=76da19e7:19:9
    at @ckeditor_strapi-plugin-ckeditor_strapi-admin.js?v=d0455943:211:16
    at Array.map (<anonymous>)
    at registerTrads (@ckeditor_strapi-plugin-ckeditor_strapi-admin.js?v=d0455943:210:15)
    at chunk-ZBNV27PP.js?v=76da19e7:10078:16
    at Array.map (<anonymous>)
    at StrapiApp.loadTrads (chunk-ZBNV27PP.js?v=76da19e7:10075:58)
    at async renderAdmin (chunk-ZBNV27PP.js?v=76da19e7:10198:3)

Strapi version: 5.0.1
System locale: ru-RU

Expected behavior: use default locale (en)

@CSpy163
Copy link

CSpy163 commented Dec 4, 2024

I modified my app.tsx, using custom translate logic, just like below
Image

The error happends at app.loadTrads, so we can change ckeditor plugin's trad logic in register or bootstrap, I think
Image

I'm a beginner of Strapi, If there is a better solution, please notify me, thank you.

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

No branches or pull requests

2 participants