Page 1 of 2

More complete example of using a locale

Posted: 25 Dec 2020, 00:01
by tarkhil
Hello

I'm sure someone has it ready.

Can't you please provide us with a more complete example of l18n than the one in manual?

I guess lots of us would love an example, featuring global load of PrimeVue with reactive locale setup; the ultimate help for me would be a vue-i18n-next-based solution, with json or yaml locale file

Re: More complete example of using a locale

Posted: 28 Jan 2021, 10:47
by tugce.kucukoglu
Hi,
Thanks for your feedback. We will discuss it.

Best Regards,

Re: More complete example of using a locale

Posted: 10 Jul 2021, 09:33
by egoson
Yes, I would very much like to see detailed instructions, from the current instruction it is completely unclear how to configure the locale

Re: More complete example of using a locale

Posted: 15 Jul 2021, 01:44
by smithclarkson02
Hi,
Thanks for your feedback. We will discuss it.

Re: More complete example of using a locale

Posted: 07 Sep 2021, 20:32
by offshoreonly
I appreciate your feedback. The topic will be discussed.

Re: More complete example of using a locale

Posted: 20 Oct 2021, 09:04
by AJackson19
Any updates on this?

Re: More complete example of using a locale

Posted: 30 Oct 2021, 21:33
by thomazrb
Hi guys! I'm interested in it too.

For example, how to change the locales in Menubar components. I'm a little bit lost.

Re: More complete example of using a locale

Posted: 12 Nov 2021, 14:14
by tugce.kucukoglu
In main.js file, you can define locales:

Code: Select all

const app = createApp(App);

app.use(PrimeVue,{
    locale: {
        accept: 'Aceptar',
        reject: 'Rechazar'
    }
});

Re: More complete example of using a locale

Posted: 29 Dec 2021, 11:19
by AJackson19
Is it really that hard to provide a "COMPLETE" example? You did some additions to your library for i18n plugin, we don't know what they are and how to work with them. I mean, do we have to ask everything to you about your library features? Your documentation needs some serious improvements. This is not good, My workplace bought a theme upon my suggestion (serenity), but i started to regret my decision.

Re: More complete example of using a locale

Posted: 01 Apr 2022, 23:28
by geri777
Yes, I agree, there should be a sample using a service.