when working on a project, directly use the previous language pack
and then when the previous language code is brought over to use, there is a warning
PS:keypath "Home"keypath
how should I solve this problem?
when working on a project, directly use the previous language pack
and then when the previous language code is brought over to use, there is a warning
PS:keypath "Home"keypath
how should I solve this problem?
if you need to turn off the translation error (warning), of vue i18n, you can use this:
new VueI18n({
locale,
messages,
silentTranslationWarn: true
})
reference link:
Disable no translation warning Issue-sharp96 kazupon/vue-i18n
https://github.com/kazupon/vu.
Previous: In Java, how to use HSSFSheet to create an excel template to create a column of two rows of data?
I want to get the current language, depending on whether the data value is 0 or 1, whether it is displayed in Chinese, yes in English or no in Chinese, or no in English ...
The project uses vue-i18n, tags like this in the .vue file. I use node to extract the json from < i18n > in all the .vue files into a json file. After the translator has translated it, the translator writes it back to the .vue with node, and then there ...
the code is as follows: html: <div class = "a"> <span :class="{active: isTable == a }" @click = "table( a )">{{ $t("EOSGame.shaiZi.part1") }}< span> <span :class="{active: ...
using internationalized plug-ins in vue projects will cause probabilistic errors when switching pages.: Uncaught TypeError: Cannot read property _ t of null at VueComponent.Vue.$t, keeps repeating errors in an orderly manner (for example, 4 errors at ...
problem description the project uses iview and vue-i18n plug-in, and basically all of them can be translated. However, it is found that Modal and DatePick of iview cannot be translated and no error is reported. the environmental background of the pr...
what happens when vue-i8n implements multilingual switching and page re-rendering. In modular development, whether it will trigger a certain life cycle of vue, whether there is a callback function, that is, how to know in the component that Chinese has b...