shuriken-ui / nuxt

Nuxt version of Shuriken UI with ready to use components
https://shurikenui.com/
MIT License
139 stars 18 forks source link

Change language or override default strings #91

Closed OndraRehounek closed 10 months ago

OndraRehounek commented 10 months ago

Hi, is there any way to change (or translate) default string values - like "empty" or "No results found."?

I bought Tairo template but without possibility of translation I would have to replace all the Shuriken components :/

stafyniaksacha commented 10 months ago

Hello @OndraRehounek

Normally, all components string can be set using properties, ex with BaseAutocomplete: https://github.com/shuriken-ui/nuxt/blob/main/components/form/BaseAutocomplete.vue#L43-L49

If you see any string that can not be set, please advise us as it's a bug!

OndraRehounek commented 10 months ago

hello @stafyniaksacha,

thank you very much! I am sorry I didn't found that! it's working perfectly