Closed PoojaJadav closed 3 years ago
Check README, localization section.
Check README, localization section.
I tried. but it's not working. Only sidebar label and submit button lable not translate :(
Is your app()->getLocale()
correct?
Is your
app()->getLocale()
correct?
Yes... Other all labels translated except this.
My code is like this in .../resources/lang/vendor/nova-settings/de.json
files:
"novaSettings.navigationItemTitle": "Einstellungen", "novaSettings.saveButtonText": "Einstellungen speichern",
Check the below screen short.
Hmm.... It's possible the locale is set too late. Is it possible for you to call app()->setLocale()
any earlier?
Hmm.... It's possible the locale is set too late. Is it possible for you to call
app()->setLocale()
any earlier?
I have already set the locale on Http/kernel. :)
I got translation on fields, if I move "Registering fields" boot() to tools(). But still, button and label are not translated.
I got translations after update the package version :)
I want to translate this sidebar lable Settings. How can I translate?![image](https://user-images.githubusercontent.com/56014892/97897358-6003f180-1d5c-11eb-8dd3-aeb16d9de8c5.png)