Replies: 1 comment 2 replies
-
It's all the same between v4 and v5, nothing changed significantly. From what i've see you don't need to wrap What you mean by
Does it print ids instead of messages? or it doesn't print anything? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
in src/locales/en/messages.po, it has
The code can work in Lingui v4.14.1, now I migrate to v5.3.2. I had remove old yarn.lock, reinstall by
yarn install
and then re-extract and compile byyarn extract
,yarn compile
. All pass without warning and errors.When run my fronend in development on browser, there is no error as well, but the UI just cannot show the "Text A" or "Text B". But when I return back to v4.14.1, it can show correctly.
All other functions in my frontend which use
Lingui
works well for V5, just theSelect
macro cannot work.My package.json related:
Is there anything wrong I use
Select
macro in V5? Thanks.Beta Was this translation helpful? Give feedback.
All reactions