0👍
I don’t think that this package is meant to be used for client side code regarding the error especially because po is a GUI-based solution.
The vuei18n-po is meant to transform some files locally with some JS backend like a Node.js app (this is the Usage
part in package’s README).
Then for the 2nd part (Plug it in
), you could use the generated files with an i18n setup for VueJS with the regular Vue2 package for i18n: https://kazupon.github.io/vue-i18n/
Or the one for Vue3: https://vue-i18n.intlify.dev/
If it’s not clear enough, feel free to read articles on how to setup i18n with Vue.
This is then a 2 step problem. I recommend that you start with a simple example of 2 small JSON files in Vue, then that you try to convert your .po
files with the vuei18n-po
package.
- [Vuejs]-Calling a Vue 3 parent method based on the string payload of a child component's emitted event
- [Vuejs]-How to change the TimePicker interval in element UI