Skip to content

Conversation

@mmb-michaelrazmgah
Copy link

What does it do?

Adding a try-catch if unable to load correct translations - will now fallback to english.

Why is it needed?

I have swedish locale 'sv' in my Strapi app, but it makes the app crash since it is not translated in the plugin

How to test it?

Change locale to 'sv' or another missing translation, it should load 'en' translations

Related issue(s)/PR(s)

Let us know if this is related to any issue/pull request

@boazpoolman
Copy link
Member

?

@mmb-michaelrazmgah
Copy link
Author

?

Sorry, I used wrong github account. I've opened a new PR.

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

Labels

None yet

2 participants