Project situation: vue project, webpack package
function you want to achieve: switch pictures in the corresponding language according to different locales
file
:
:
Project situation: vue project, webpack package
function you want to achieve: switch pictures in the corresponding language according to different locales
file
:
:
Previous: What is the difference between a () {} and a: () = > {}?
Next: The runtime for kotlin was not found when using MultiDex.
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 ...
use vue-i18n to achieve internationalization, but after switching languages, the height of the fixed operation column is not consistent with that of other columns (after refreshing). The check element finds that the height is the same, and I don t know...
version information is "element-ui ": "^ 2.3.3 ", "vue ": "^ 2.5.2 " projects need to use element-ui paging component -- Pagination , and need to use multiple languages ( vue-i18n ) to support switching between Chinese and English. According...
][2] I need to use it when writing plug-ins. It has been introduced globally in iMub 18n MagneVue, but I don t know how to use it in plug-ins. Please give me some advice ....
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? ...
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 ...
1.v-for is used to judge vmurif. the condition of judgment comes from the value 2 in v-for. The code is as follows: <div v-for="item in items"> <div v-if="{{item.num}}>0"> abc < div> <div...
as mentioned, iview is loaded on demand, and iview2.x was used before vue-i18n, was used in the project. Just after upgrading to iview3.0.1, the iview component will not switch languages when making an internationalization switch. has anyone encounter...
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 ...
i18n internationalization plug-in is used in the project, but how to set the style in Chinese and English respectively. I have defined a font size, which is smaller in English than in Chinese, and how to set the font style in English to be different from...
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...
requirement description: the tree component of element-ui is used in the project, the content of each node needs to be customized, and the rendering function is used: renderContent(h, { node, data, store }) { if(node.data.templateItem){ re...