最近、
調べた
方法1 getVariation を 使う
これが
ページ単位に
リンク先に
14 Internationalization with Wicket 6.x に
org.foo.MyBundle_zh_cmn
を
方法2 ResourceStreamLocator を 使う
How to change the html file location in Wicket に
WebApplication
内で
getResourceSettings().setResourceStreamLocator(new MyOwnStreamLocator());
Mobile / PC で
Wicket 7.8.0 でもこの
ユーザーエージェントの
以下、
方法3 ResourceFinder を 追加する
Locator が、
ResourceStreamLocator
のlocate
メソッド内で、ResourceStreamLocator
の
wicket/ResourceStreamLocator.java at master · apache/wicket
ResourceFinder は、
以下、
以上です。
コメント