As a developer I can annotate objects to be internationalized and let a framework do the rest
(MAGNOLIA-5268)
|
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | i18n |
| Affects Version/s: | None |
| Fix Version/s: | 5.1 |
| Type: | Sub-task | Priority: | Neutral |
| Reporter: | Federico Grilli | Assignee: | Federico Grilli |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Sprint: | 5.1 Beta1- Frontend, 5.1 - Final |
| Description |
|
We need to create update tasks to remove some well-known deprecated i18n properties whose keys are now generated via the info.magnolia.i18n.I18nizer mechanism. The properties are 'label', 'confirmationMessage', 'i18nBasename' and 'description' /module-name/apps/main-app-name -> remove label /module-name/apps/subapps/each-subapp/actions/each-action -> remove label, confirmationMessage /module-name/apps/subapps/each-subapp/actionbar/sections/each-section -> remove label /module-name/apps/dialogs/each-dialog/actions/each-action -> remove label /module-name/apps/dialogs/each-dialog/form/whatever-down-to-leaf -> remove label, description, i18nBasename /module-name/apps/subapps/each-subapp/workbench/contentViews/each-view/columns/each-column -> remove label /ui-admincentral/config/userMenu /ui-admincentral/config/appLauncherLayout Apps involved are ui-admincentral, pages, dam, contacts, ui-mediaeditor, security-app, ui-framework, sample-app, categorisation, and messages-app. As a complementary task, a groovy script has been created to remove those props and export a clean bootstrap file. The script has been made public and can be found at http://wiki.magnolia-cms.com/display/WIKI/Groovy+Shell+Scripts#GroovyShellScripts-Removepropertiesfromsomegivenbootstrapfilesandexportthecleanupfiles |