More complete example of using a locale

UI Components for Vue
tarkhil
Posts: 17
Joined: 17 Dec 2020, 21:05

25 Dec 2020, 00:01

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

tugce.kucukoglu
Posts: 560
Joined: 23 Oct 2020, 09:28

28 Jan 2021, 10:47

Hi,
Thanks for your feedback. We will discuss it.

Best Regards,

egoson
Posts: 1
Joined: 10 Jul 2021, 09:27

10 Jul 2021, 09:33

Yes, I would very much like to see detailed instructions, from the current instruction it is completely unclear how to configure the locale

smithclarkson02
Posts: 1
Joined: 18 Mar 2020, 04:22

15 Jul 2021, 01:44

Hi,
Thanks for your feedback. We will discuss it.

offshoreonly
Posts: 1
Joined: 07 Sep 2021, 20:27

07 Sep 2021, 20:32

I appreciate your feedback. The topic will be discussed.

AJackson19
Posts: 10
Joined: 31 Aug 2021, 15:00

20 Oct 2021, 09:04

Any updates on this?

thomazrb
Posts: 4
Joined: 30 Oct 2021, 21:30

30 Oct 2021, 21:33

Hi guys! I'm interested in it too.

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

tugce.kucukoglu
Posts: 560
Joined: 23 Oct 2020, 09:28

12 Nov 2021, 14:14

In main.js file, you can define locales:

Code: Select all

const app = createApp(App);

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

AJackson19
Posts: 10
Joined: 31 Aug 2021, 15:00

29 Dec 2021, 11:19

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.

geri777
Posts: 1
Joined: 01 Apr 2022, 23:13

01 Apr 2022, 23:28

Yes, I agree, there should be a sample using a service.

Post Reply

Return to “PrimeVue”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests