orbinson / aem-dictionary-translator Goto Github PK
View Code? Open in Web Editor NEWTranslate AEM labels for i18n internationalisation
Translate AEM labels for i18n internationalisation
When exporting a dictionary and updating the translations, after trying to import the changes an error occurs.
"The label already exists"
How to reproduce:
en, nl, fr
)fr, en, nl
)You will receive error:
please only add languages that exist in the dictionary
This will also occur if you only import 1 language and the dictionary contains multiple languages.
If the dictionary contains of en, nl
, I want to be able to only import nl
A node is created in JCR in the FR section. This node has an (empty) sling:message.
Because a sling:message is available in FR, it's blank value is shown in the FR site-section instead of a falling back to the filled-in EN translation.
I expect that if an author deletes a label / dictionary / language, it also unpublishes it so that there isn't a difference between author and publish
When selected a dictionary or label, the publish button is always available and do not take ACLs into account
You get always a successful message (Label/Dictionary published
), despite it not being published if you do not have the correct permissions.
( in the Logs it is visible it was not published:
*ERROR* [[0:0:0:0:0:0:0:1] [1709119475475] POST /apps/aem-dictionary-translator/content/granite/dialog/dictionary/publish/items/properties/items/columns/items/column/items/form HTTP/1.1] be.orbinson.aem.dictionarytranslator.servlets.action.ReplicateDictionaryServlet ReplicationException occurred when trying to replicate dictionary in ReplicateDictionaryServlet
)
Also when you dont have the rights to create a label or update a label, you always get the info message Label saved
while the operation was not successful
When opening a dictionary labels page, there is no visual way to go back.
Add the option to export the key and translations for all labels (in all defined languages) for a selected dictionary to CSV.
The resulting file should have
Add the option to import a CSV file into a selected dictionary.
The import file should be considered invalid (and an error should be shown if)
Remark: Not ALL languages defined in the selected dictionary should be present in the import CSV. This will allow a user to import translations language per language (if this is needed)
If the import file is valid,
No clear indication when trying to create a label which name already exists.
Test steps:
test
test
Expected behaviour:
A clear message should be shown to indicate this label already exists
Actual behaviour:
A generic error message Server Error
is being shown
Exporting a csv with a language with only empty translations sometimes gives completely empty file.
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.