[MAGNOLIA-502] Reloading of i18n strings Created: 25/Jul/05  Updated: 17/Mar/09  Resolved: 26/Jul/05

Status: Closed
Project: Magnolia
Component/s: admininterface
Affects Version/s: 2.1 Final
Fix Version/s: 2.1 Final

Type: Improvement Priority: Major
Reporter: Nicolas Modrzyk Assignee: Philipp Bärfuss
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

any


Attachments: Text File ReloadI18nServlet.java     Text File contextMessage.txt     Text File messages.txt    
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Date of First Response:

 Description   

This is a patch allowing reloading of property files used for translation.
This requires the magnolia jar file to be expanded in the class folder.
Attached is also a servlet that can be used to reload the resource bundles.



 Comments   
Comment by Nicolas Modrzyk [ 25/Jul/05 ]

messages.txt is the patch for the class: info.magnolia.cms.i18n.Messages
contextMessage.txt is the path for the class: info.magnolia.cms.i18n.ContextMessages

and ReloadI18nServlet is a dummy servlet for example ...

Comment by Nicolas Modrzyk [ 25/Jul/05 ]

I think we could use this patch to reload the keys and switch to the proper localisation once the i18n property has been updated in the server repository tree without restarting the server.

Unfortunately, at this time, I can't switch locale with a clean build from SVN code, is this only me ?

Comment by Philipp Bracher [ 25/Jul/05 ]

switching the system language has little effect while you are logged in with a user. This is because the user has his own default language wich is still the same. Change this in the user tab. You must close the browser (restart the session) to run the user in the new seleceted language.

Comment by Philipp Bracher [ 25/Jul/05 ]

Nice fature. Commited.

use .magnolia/reload-i18n

would be nice to have a basename- and local-parameter. a primitive interface would be nice (like we had in the export servlet)

Comment by Boris Kraft [ 26/Jul/05 ]

reassigned to RC3

Generated at Mon Feb 12 03:18:03 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.