[Yanel-dev] i18n

Michael Wechner michael.wechner at wyona.com
Fri Mar 30 12:26:02 CEST 2012


Am 30.03.12 11:21, schrieb basZero:
> Thanks Michael for the pointers.
>
> I got a 500, not a 403. But maybe the username/password didn't match...

you're right, after trying to sign-in and if login fails, then a 500 
error is returned.

This is not the expected behaviour :-( Will try to fix this quickly.

Thanks

Michael
>
> Cheers
> Balz
>
> On Fri, Mar 30, 2012 at 11:18 AM, Michael Wechner 
> <michael.wechner at wyona.com <mailto:michael.wechner at wyona.com>> wrote:
>
>     Am 30.03.12 10:53, schrieb basZero:
>>     Hi,
>>
>>     I tried to login in order to submit a comment about this page:
>>     http://www.yanel.org/en/documentation/i18n.html
>>
>>     however, my login does not seem to work anymore,
>
>     I have disabled the comments, because of spam, whereas I am
>     currently refactoring it, such that
>     spam should be less a problem
>
>>     I get an error 500.
>
>     I guess you mean an access denied error.
>
>>
>>     Here is my input:
>>
>>     - It is unclear how the language is selected: from the browser?
>>     from a property stored in the user profile?
>
>     good point, we need to document this. For the moment please see
>
>     src/impl/java/org/wyona/yanel/impl/resources/BasicXMLResource.java
>
>     new I18nTransformer3(getI18NCatalogueNames(),
>     getRequestedLanguage(), getUserLanguage(),
>     getRealm().getDefaultLanguage(), uriResolver);
>
>>     - Is it somehow possible to oversteer the logic and tell the i18n
>>     logic which language to take
>
>     IIRC yes, whereas I don't recall the details right now. Please see
>
>     src/core/java/org/wyona/yanel/core/Resource.java#getRequestedLanguage()
>
>     etc.
>
>     HTH
>
>     Michael
>
>>
>>     Cheers
>>     Balz
>>
>>     *Balz Schreier*
>>     Zwischengas AG
>>     CTO / Fotograf
>>
>>     Wussten Sie, dass das Zeitschriftenarchiv auf Zwischengas
>>     unterdessen auf knapp 300'000 Seiten gewachsen ist? Besuchen Sie
>>     das Archiv <http://www.zwischengas.com/de/archiv/index.xml>!
>>
>>
>>
>
>
>     --
>     Yanel-development mailing list Yanel-development at wyona.com
>     <mailto:Yanel-development at wyona.com>
>     http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development
>
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wyona.org/pipermail/yanel-development/attachments/20120330/6348d6ec/attachment.html>


More information about the Yanel-development mailing list