almende / chap-links-library

a web based visualization library for displaying graphs, networks, and timelines
http://almende.github.com/chap-links-library
Apache License 2.0
599 stars 167 forks source link

Added Timeline Hungarian Localization #275

Closed Panyi closed 10 years ago

josdejong commented 10 years ago

Thanks!

One thing: can you replace special characters like á with their unicode or html code? (i.e. á or á)

see: http://en.wikipedia.org/wiki/List_of_Unicode_characters

josdejong commented 10 years ago

hm I see none of the localizations uses html codes for special characters... that should be fixed as well

Panyi commented 10 years ago

Alright! I will do that!

Panyi commented 10 years ago

So I tried to convert the string to HTML entities but it won't work. So the encoding is perfect but you cannot decode it on screen, So i only see á characters not the decoded one.

josdejong commented 10 years ago

Ah, sorry. I see the problem. This should be fixed in the Timeline itself.

Ok then I will put that as a separate issue, merge your PR now, and fix this later. Thanks!

EDIT: The problem is explained here: http://stackoverflow.com/questions/513112/setting-nodevalue-of-text-node-in-javascript-when-string-contains-html-entities