Skip to content

Custom attribute localization #1681

Closed Answered by suraj-webkul
aldoemir asked this question in Q&A
Discussion options

You must be logged in to vote

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)

Replies: 1 comment

Comment options

You must be logged in to vote
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
Category
Q&A
2 participants