<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Michal,<br>
<br>
I've seen the file /libaries/messages.inc.php. Would this the final
solution?<br>
<br>
If yes, I can use in template engine things like $strXxxXxx, Else if
not, I will write<br>
a filter function for TWIG-templating, but I think it would be
overheaded.<br>
<br>
Is it possible for you, to add a switch in your select lang library?<br>
If I need strings in Javascript, that I would be able to include such a
thing like:<br>
<script type="text/javascript"
src="select_lang.php?js=selected_lang"></script><br>
This should me return javascript compatible strings as an object like<br>
var pmaStringJS = {<br>
    strAbortedClients : 'Aborted',<br>
    /* ... and so on */<br>
    'strZip' : 'zipped'<br>
}<br>
The Problem: UTF8-Strings should be encoded with \uXXXX.<br>
Sample: 'Löschen' will become 'L\u00F6schen'.<br>
<br>
Regards<br>
Michael<br>
<br>
Am 12.03.2010 13:16, schrieb Michal Čihař:
<blockquote cite="mid:20100312131630.56c03f62@rincewind.suse.cz"
 type="cite">
  <pre wrap="">Hi

Dne Fri, 12 Mar 2010 12:35:50 +0100
Michael Keck <a class="moz-txt-link-rfc2396E" href="mailto:sfnet@michaelkeck.de"><sfnet@michaelkeck.de></a> napsal(a):

  </pre>
  <blockquote type="cite">
    <pre wrap="">okay this sounds good.
But one question:
How could / should I access language files with javascript?
    </pre>
  </blockquote>
  <pre wrap="">
I think it will be same as with old system - PHP will generate the
messages to use.

  </pre>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
<a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/intel-sw-dev">http://p.sf.net/sfu/intel-sw-dev</a></pre>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Phpmyadmin-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Phpmyadmin-devel@lists.sourceforge.net">Phpmyadmin-devel@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel">https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel</a>
  </pre>
</blockquote>
</body>
</html>