ou? this is how i use the locale.
>
> best regards,
> Andreas
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>
>
--
View this message in context:
http://www.nabble.com
matches(IRequestTarget requestTarget)
// but here how i can get the current locale to determine if /fr/accueil
or /en/home matchs this mounter ???
Session.get().getLocale().getLanguage()
decode(RequestParameters requestParameters) {
// but here how i can change the current locale
age, it's ok.
>>
>> In Home.html
>>
>> home page
>>
>> In Home.java :
>>
>> //i can get locale with request.getRequestURI() and check if url starts
>> with
>> "en" or "fr" (and i think is very bad)
>> n
think is very bad)
> new BookmarkablePageLink("homeLink", Home.class); // but here, how to change
> "href" with regard to locale?
>
> thanks,
> Manu
> --
> View this message in context:
> http://www.nabble.com/I18n-and-nice-URLs-tp22512232p22512232.ht
() and check if url starts with
"en" or "fr" (and i think is very bad)
new BookmarkablePageLink("homeLink", Home.class); // but here, how to change
"href" with regard to locale?
thanks,
Manu
--
View this message in context:
http://www.nabble.com/I18n-and-nice