How do you perform locale changing?

Posted by Jennifer | Updated on

All child components of a root instance are localized using the locale property of the VueI18n class. You can change the value of the locale property of the VueI18n instance as below.

You can also use component’s VueI18n instance referenced as the $i18n property which will be used to change the locale.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers