Re: [Phpslash-devel] How to translate
Brought to you by:
joestewart,
nhruby
From: Peter C. <li...@cr...> - 2005-06-21 21:43:09
|
Mmm, not sure PSL will work out the box with non-latin alphabets. Things to think about: - The template needs to have charset=utf8 meta tag added so the browser knows what it's looking at - You need to make sure that webserver isnt sending the wrong charset info (many apache installations set it as some western charset - I can't remember the apache tag name right now, sorry) - You need to make sure that the MySql tables have the correct charset and collation values set for the text fields And then there's the text processing side of things - on your website, it looks like PSL is applying htmlspecial chars irrespective of charsets. As for saving UTF-8, that should be an option in your editor. What OS/Editor are you using? If you want to work with a PSL-based app, it might be worth looking at Back-End <www.back-end.org>: we reworked it last year to deal with Persian, which involved resolving many of these issues (and right-to-left text too). Back-End is multilingual and allows explicit definition of charsets for each language. Not good news maybe, but HTH Peter On 21 Jun 2005, at 21:43, Tigran wrote: > Hello, > > I'm trying to translate PHPSlash into Armenian. I have copied the > en.php into hy.php file and I know I'm suppose to type the translated > text in it. I don't know how to type the translated text. Do I just > change the font in my computer and start typing in Armenian? I tried > for some reason it didn't work. > How do I make sure I'm typing in UTF-8? > > Test url is www.usanogh.com/articles2 > > Thanks > --Tigran > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Phpslash-devel mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpslash-devel > |