Hi,
Thank you for the awesome theme. I am using a vue theme. I checked we can add different language wise labels. But it’s only for the Side and Topbar Menu.
What I have to do if I want to show page breadcrumb language-wise also? Is it possible?
Also, I checked in all other pages button text are also Hard Text not language-wise. So do we have a provision for that also?
Hi
Thank you for your feedback.
We are translating menus just for demo purposes, but you can reuse the same logic in all your components.
Just add a translate function like it shown below:
import { useI18n } from "vue-i18n/index";
const { t, te } = useI18n();
const translate = (text) => {
if (te(text)) {
return t(text);
} else {
return text;
}
};
<span>{{ translate("yourKey") }}</span>