Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a JSON file in config #7

Open
AnniDineva opened this issue Nov 18, 2023 · 3 comments
Open

Add a JSON file in config #7

AnniDineva opened this issue Nov 18, 2023 · 3 comments

Comments

@AnniDineva
Copy link

How can I add a .json file in my trans_editor.php?

@eboye
Copy link
Owner

eboye commented Nov 18, 2023

It should be supported by only adding the name without [.json] extension to the array in the config.

I'm not using this library, so not really maintaining it anymore :|

But I have an project that would probably be using it in the near future. If so, I'll see if I can bring it up to speed to support Nova 4 etc.

@AnniDineva
Copy link
Author

Yeah, I was try that, but It is no effect 😕. Maybe is important the path of files?

@eboye
Copy link
Owner

eboye commented Nov 20, 2023

Note sure, it should be using the same scope as _('filename.somedeclaration') uses. So that filename if it's accessible from laravel scope it should be in this lib.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants