Skip to content

How to translate Laravel Nova files? #22

Answered by andrey-helldar
sajaddp asked this question in Q&A
Discussion options

You must be logged in to vote

Depends on what kind of files you want to find.

Nova files are installed in the application along the path:
lang/vendor/nova/{locale}.json for Laravel 8-9
resources/lang/vendor/nova/{locale}.json for Laravel < 8

As part of the Laravel Lang project, we store Nova source files here: https://github.com/Laravel-Lang/lang/tree/main/source/packages/nova

We save all translations of keys from json files into a single file. For example, https://github.com/Laravel-Lang/lang/blob/main/locales/fr/fr.json

Replies: 0 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by sajaddp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants