You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Craig Pardey <cr...@intelliware.ca> on 2011/06/08 18:23:20 UTC

I18n for buttons

Hi,

I am using i18n in Wicket to set the value on a button.

The markup for the button is
<input type="submit" wicket:message="value:save" wicket:id="save"/>

The value does not get translated if "save" is in the application-level resource bundle.  It only gets translated if "save" is in the page-level resource bundle.

Is my markup incorrect, or is this a bug?

CP


Re: I18n for buttons

Posted by Martin Grigorov <mg...@apache.org>.
Doesn't sound like https://issues.apache.org/jira/browse/WICKET-3727
but who knows.

On Wed, Jun 8, 2011 at 6:23 PM, Craig Pardey
<cr...@intelliware.ca> wrote:
> Hi,
>
> I am using i18n in Wicket to set the value on a button.
>
> The markup for the button is
> <input type="submit" wicket:message="value:save" wicket:id="save"/>
>
> The value does not get translated if "save" is in the application-level resource bundle.  It only gets translated if "save" is in the page-level resource bundle.
>
> Is my markup incorrect, or is this a bug?
>
> CP
>
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org