-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Create Data Localization editor #18761
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
Conversation
|
Believe it or not, I wanted to demo a dynamic localization for menus yesterday, but Im little bit sick |
|
At first glance, the editor was amazing!! But it needs a few UI tweaks. I will have an overall look at other files and fix the build. Now I can vote for releasing v3.0.0 :) |
|
Just a few notes:
|
I thought about it but then you have the opposite effect that you may drown the other sections if there are many type
The displayed text is the input if there is no translation, so it has to be the display name. Unless there is an API update that takes the "display name" as a fallback of
Sure, change the menu and/or its location
Not sure. Maybe not in the menu but from the translations page instead. It doesn't hurst, just a readonly page, no cost, and quite useful if you actually need to the data localization feature.
Yes this shouldn't block, but if there are obvious simple changes don't wait for me. Like the space between the buttons, ... |
|
Is there anything else to add here? I will review one more time and fix small UI issues. We need to merge this ASAP |
|
@hishamco I pushed the fields localization. This should be it now. I changed the way the context was built for fields so there is no collision between parts but still display them grouped. The context can have parts separated by |
|
Sure, I need to fix the unit tests too |
|
I tested it and applied some changes. |
|
I will do a final review and test, then we are ready to merge this |
hishamco
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, let's merge this, so it should not take so long. After that, we can enhance it
The only thing I'm still thinking about is making the statistics a separate feature, which could be enabled by default. Also, we might add a permission for it
|
@hishamco I hope you didn't break it ;) |
|
No worry :) BTW I have a few enhancements that I might share in upcoming PRs |
|
After the module is almost complete, is there anything related to the PO Extractor that I haven't thought of? But could there be some places where the data localizer has been used with other localizers |
No description provided.