[MAGNOLIA-1406] Some calendar translation files need to be restored to UTF8 Created: 26/Feb/07  Updated: 23/Jan/13  Resolved: 30/Nov/07

Status: Closed
Project: Magnolia
Component/s: admininterface, gui
Affects Version/s: 3.0.1
Fix Version/s: 3.5

Type: Task Priority: Major
Reporter: Magnolia International Assignee: Vivian Steller
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File patch.txt    
Issue Links:
supersession
supersedes MAGNOLIA-1172 Localization of calendar in the 'dat... Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Date of First Response:

 Description   

Some of the calendar language files are just garbage'd...



 Comments   
Comment by Guillaume Pichenot [ 26/Feb/07 ]

While patching the fr file to work, I thought about that particular issue, and concluded that it could be a better solution (at least, for roman alphabets), to HTML-escape every special caracter that has a HTML entity.
Possible advantages are :

  • Pure ASCII and UTF versions are the same, bit for bit
  • Final HTML pages (in that case, mostly jsp controls for paragraphs which are UTF by default, but I guess that may depend on certain customisations) can be UTF, ISO, whatever else, the file should just work.

Now of course, there may be downsides to this approach, for example :

  • it involves a lot of checking (a simple batch may not be enough) to produce conversions.
  • Files will be much more different from the official calendar tool releases (harder to keep track of changes)

That's just food for thoughts on the practical side of this issue.
But practical issues apart, I'd personnaly favor the UTF format. That should be the way to go.

Comment by Magnolia International [ 26/Feb/07 ]

note that we're talking javascript here, so depending on how the strings are used, the html entities might be irrelevant (try them in an alert box...)

if we're careful about what we commit, utf8 should be easier. Even in french, i have a hard time proof reading, with just a couple of accents. I can't even start to imagine i had to do that for chinese

Comment by Guillaume Pichenot [ 13/Mar/07 ]

You're probably right, Grégory.

So I made this patch for two reasons :

  • Go back to UTF8
  • Correct a small typo that has probably been here for a very long time : short for Wednesday (Mer in Fr) was the same as short for Tuesday (Mar in Fr).
Comment by Vivian Steller [ 30/Nov/07 ]

updated all translation files with latest from http://jscalendar.cvs.sourceforge.net/jscalendar/jscalendar/lang/. Explicitely converted spanish (es) file to UTF-8. Rechecked french, czech, german translations.

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