Forums | Multilanguage Support

You must be logged in to post Login Register

Search Forums:


 






Multilanguage Support

Resolved in Next Version
UserPost

1:57 am
October 3, 2010


webdemin

Member

posts 4

hey,

i 've recently installed stripshow on wordpress 3.0.1 and everything works great apart from not being able to show the tooltips properly because they are in greek.

to be more specific :

the mouseover text on navigation arrows does not show the characters properly – doesn't recognise greek
the title of the comic does not either
in the admin panel , at the autocomic section when i set the mouseover text and save , greek letters are not recognised (after save)

any ideas how can i fix this ?

thanks in advance!

8:19 am
October 3, 2010


Brad

Admin

posts 233

Hi, webdemin!

I must confess, I hadn't tested with non-Roman languages, and I now see that this is a problem. The title of the strip looks fine, but the AutoComic tooltips are indeed all messed up.

I think this must have to do with the method stripShow uses to encode the HTML code for output using JavaScript. I will have to play with it and see if there's a method that better preserves non-Roman characters.

9:05 am
October 3, 2010


Brad

Admin

posts 233

OK, it turns out there are two parts to this problem.

First, the AutoComic options form was converting non-Roman characters wrong to begin with. You typed it in right, it saved it to the database right, but the next time it appeared on the form, it was wrong. If you saved it again, it saved to the database wrong. That was me not adding the UTF-8 encoding to the htmlentities() function. That's been fixed.

The second problem is that even when everything's saved in the database properly, non-Roman characters are still coming up wrong when encoded for JavaScript. I'm still working on that. It may be connected to the encoding used on the WordPress theme.

10:02 am
October 3, 2010


webdemin

Member

posts 4

Post edited 10:21 am – October 3, 2010 by webdemin


Hi Brad,

wow, thanks for your prompt reply! I think mysql_set_charset() might be useful on that second part. Just need to use it at the right place i.e. before inserting it to the database and when you retrieve it.

so, if i download it again and install it , part of it will work now ?

thanks again!

10:21 am
October 3, 2010


Brad

Admin

posts 233

OK, I figured out where the issue was in JavaScript. I was using the wrong JS functions to encode and decode the information.

I have uploaded stripShow 2.5.1. This should take care of your issue. Let me know if it doesn't.

10:27 am
October 3, 2010


webdemin

Member

posts 4

Thank you very much! I 'll test it right away…

10:34 am
October 3, 2010


webdemin

Member

posts 4

Yeap! Works like a charm! Thank you very much Brad! Legend!

1:00 pm
October 3, 2010


Brad

Admin

posts 233

Great! Glad I could help!

By the way, if you end up making a translation file into Greek, I'd love to get a copy. So far, no one has translated stripShow into any other languages!



  • Donate

    While I don't maintain stripShow for a living, I wouldn't say no to a little donation, if you think the plugin is worth it...

  • Advertisements