bernhardh / nova-translation-editor Goto Github PK
View Code? Open in Web Editor NEWA laravel nova translation editor
A laravel nova translation editor
Currently, if you click save, all keys from the current group (aka tab) are stored to the database. This is ok, for custom translations which exists only in the database, but not for file based translations.
Hi guys,
i'm looking to import my own translation group stored in other place than resources/lang.
I've split my application into modules using nwidart/laravel-modules package , and what i want to achieve is to define the module translation file as a group.
If i use '*' the nova-translation-editor.php config file, the keys are loaded, but i'm looking a way to have tabs for each module.
The module translation file is located for example in Modules/Catalog/Resources/lang
Thanks,
Mihai
I use a table called "translations", I can make a pull request to use a configurable table in the config file if you accept.
Hello,
I'm in the middle of upgrade process to Nova 4.
One thing I noticed is that when I include this tool, it causes issues overall in the design of Nova.
When I check the CSS from devtools I can see the CSS from this tool overwrites some values from Nova.
I'm sorry I do not have more information about this. If you are not able to reproduce this, please let me know what information you need.
first:
INFO Symfony\Component\ErrorHandler\Error\FatalError: Class Bernhardh\NovaTranslationEditor\NovaTranslationEditor contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Laravel\Nova\Tool::menu) in file /var/www/vendor/bernhardh/nova-translation-editor/src/NovaTranslationEditor.php on line 9
after add the menu method:
Nova v4 requires vue 3, and there is no more vue router since is using inertia.
As in https://github.com/spatie/laravel-translation-loader#usage mentioned:
But this editor does not support this kind of config
It shows zero results for group "*"
Group with name "*" needed to override .json translation files. Can this be fixed ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.