我应该在 Silvanite/novatoolpermissions 中将翻译放在哪里以获得许可
Where should I put translate for permission in Silvanite/novatoolpermissions
您好,我是 Laravel Nova 的新用户。
我已尝试安装此软件包以管理 ACL:https://github.com/Silvanite/novatoolpermissions
现在我想更改具有默认权限名称的翻译:
{
"viewNova": "Access Nova",
"viewRoles": "View Roles",
"manageRoles": "Manage Roles",
"assignRoles": "Assign Roles",
"viewUsers": "View Users",
"manageUsers": "Manage Users"
}
正如医生所说:
This package comes with a set of default permissions to provide full
access control to the package's functionality. Permissions come with
default english translations to provide a better user experience. You
are free to replace these with translations in your applications json
translations.
好吧,但是我应该把这个包裹的定制 en.json 放在哪里?
我试着投入
nova-components>permissions>resources>lang>en.json
但是没用。
对于其他开发者
文件应放在:
my_project/resources/lang/en.json
您好,我是 Laravel Nova 的新用户。 我已尝试安装此软件包以管理 ACL:https://github.com/Silvanite/novatoolpermissions
现在我想更改具有默认权限名称的翻译:
{
"viewNova": "Access Nova",
"viewRoles": "View Roles",
"manageRoles": "Manage Roles",
"assignRoles": "Assign Roles",
"viewUsers": "View Users",
"manageUsers": "Manage Users"
}
正如医生所说:
This package comes with a set of default permissions to provide full access control to the package's functionality. Permissions come with default english translations to provide a better user experience. You are free to replace these with translations in your applications json translations.
好吧,但是我应该把这个包裹的定制 en.json 放在哪里?
我试着投入 nova-components>permissions>resources>lang>en.json
但是没用。
对于其他开发者
文件应放在:
my_project/resources/lang/en.json