Custom attribute localization #1681
-
How can I add custom attribute names for other languages? |
Beta Was this translation helpful? Give feedback.
Answered by
suraj-webkul
Oct 16, 2024
Replies: 1 comment
-
Hello, @aldoemir, First, you need to define your locale in the $locales property within the Installer class. The file is located at: packages/Webkul/Installer/src/Console/Commands/Installer.php After that, you need to add the corresponding translations under: Installer/src/Resources/lang Once this is done, you can set the locale in the .env file using the APP_LOCALE key, or you can choose the default language during the application installation process. Best regards, |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
devansh-webkul
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, @aldoemir,
First, you need to define your locale in the $locales property within the Installer class. The file is located at:
packages/Webkul/Installer/src/Console/Commands/Installer.php
After that, you need to add the corresponding translations under:
Installer/src/Resources/lang
Once this is done, you can set the locale in the .env file using the APP_LOCALE key, or you can choose the default language during the application installation process.
Best regards,
(Suraj)