You´re right. Now it´s working:
On 4 Jun., 17:15, Jamie Walch <
jamiewa...@chromium.org> wrote:
> I think you'll need to explicitly call chrome.i18n.getMessage to
> translate the '@@ui_locale' tag. The __MSG trick only works in a few
> contexts.
>
>
>
>
>
>
>
> On Thu, May 31, 2012 at 1:28 AM, Markus <
markus.wall...@wwh-com.de> wrote:
> > Hi,
>
> > I tried to get the actual localCode an send it via Url to open a
> > popup. But the @@ui_locale doesn´t work.
> > Can somebody show me my mistake?
>
> > in sample.js:
> > function OpenUrl(){
> > chrome.windows.create({"url": "
http://www.blabla.de/Suggest.php?
> > parameter1=" + parameter1 + "&Language=" +
> > "__MSG_@@ui_locale__&Original=test", "width": 500, "height": 700,
> > "type": "popup"});
> > }
>
> > But opened popup shows the following URL: