Gettext gets loaded - the message is localized, but the user has to count on the browser to both know the right encoding and switch the directionality.
On 11/27/06, Nikolay Bachiyski <[EMAIL PROTECTED]> wrote:
Ran Yaniv Hartstein wrote: > However, that function isn't available for e.g. during the installation. Unfortunately you cannot use translated strings before the gettext library has loaded and the library could not load if wp-config.php is missing, so the error aying that wp-config is missing is logically un-internationalizationable! However, if you want the error message to appear in your message - replace the original file with your own version and place it in the dist/ directory in your repository. Happy (hacking|translating), Nikolay > > The error message you see if you don't have a wp-config.php file can't > use wp_die() as far as I can tell > > On 11/27/06, *Sewar* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: > > wp_die() function added in 2.1 for fix this bug and display error > messages in nice page. > > See: http://trac.wordpress.org/ticket/2902 > <http://trac.wordpress.org/ticket/2902> > > > On 11/27/06, *Ran Yaniv Hartstein* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > This is a particularly problematic issue with languages that use > completely different scripts and are written from Right to Left, > like Hebrew or Arabic. > > A possible solution is having the wp_die() function available > everywhere in wordpress, and using it for all error messages. > > > On 11/27/06, *Ralf Schmitt* < [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > > Hi list, > > I've found another issue that comes to surface when > wordpress is used in conjunction with utf-8 translations. > > BUG: > When one triggers an error-page (for example not all > parameters for a comment). Worpress creates a page > which contains the translated error message. This page > contains no html tag information (no header, no body tags) > just pure text information. So browser don't know for sure > which encoding to use. IE for example fails to render utf-8 > characters. > > EXAMPLE (german utf-8) > Fehler: Bitte füll die notwendigen Felder aus (Name, > E-Mail-Adresse). > > regards > > Ralf _______________________________________________ wp-polyglots mailing list [email protected] http://lists.automattic.com/mailman/listinfo/wp-polyglots
_______________________________________________ wp-polyglots mailing list [email protected] http://lists.automattic.com/mailman/listinfo/wp-polyglots
