<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    9910

    單飛

       :: 首頁(yè) :: 聯(lián)系 :: 聚合  :: 管理
    Plugin.properties放在plugin.xml的相同目錄下, Eclipse里面看國(guó)際化也是非常正確, 但是運(yùn)行以后就是只顯示"%XXXX"這樣的字符串原來(lái)是因?yàn)?br />

    Localization in RCP plugins is usually done by including translations in a property file and using their id in plugin.xml.

    I spend some time lately trying to understand why some translations were not used in my application although they were correctly displayed in PDE.

    Answer : when using plugin.properties, you MUST include the following line in the plugin manifest :

    Bundle-Localization: plugin

    Otherwise, PDE will show the translated text, but your app won’t.

    Strangely, I had to edit the manifest manually because I couldn’t find a way to enable plugin localization in PDE. Some other plugins of my application already had this line, but I don’t remember adding it. Maybe Eclipse templates have changed since I created my first plugins (using Eclipse 3.1).


    記得以前插件開發(fā)也有這個(gè)問題,不過(guò)忘記了。
    真是記性越來(lái)越差了。
    這個(gè)問題竟然困擾了我兩個(gè)星期。還好可以google到別人的解決辦法,今天在這里留個(gè)腳印。
    posted on 2009-01-23 11:42 單飛 閱讀(525) 評(píng)論(0)  編輯  收藏 所屬分類: Eclipse Plugin
    主站蜘蛛池模板: 一级特级女人18毛片免费视频| XXX2高清在线观看免费视频| 亚洲av无码天堂一区二区三区 | 亚洲综合小说另类图片动图 | 国产精品美女自在线观看免费| 一区二区免费在线观看| 亚洲人成网站在线播放影院在线 | 两性色午夜免费视频| 久久久久se色偷偷亚洲精品av| 亚洲av无码不卡私人影院| 99热在线观看免费| 亚洲sm另类一区二区三区| 亚洲av无码乱码国产精品| 日韩毛片免费无码无毒视频观看 | 亚欧洲精品在线视频免费观看| 亚洲白色白色永久观看| 亚洲精品老司机在线观看| 在线成人爽a毛片免费软件| 黄色毛片免费网站| 亚洲国产av高清无码| 黑人大战亚洲人精品一区 | 亚洲人成网站18禁止一区| 91成人在线免费视频| 三级片免费观看久久| 亚洲综合日韩中文字幕v在线| 免费人成激情视频| 99久久国产热无码精品免费 | 成年女人18级毛片毛片免费| 中文字幕不卡免费视频| 亚洲s码欧洲m码吹潮| 亚洲videos| 亚洲第一福利视频| 亚洲性猛交XXXX| 国产一区在线观看免费| 亚洲午夜无码AV毛片久久| 亚洲一区二区三区免费观看| h在线看免费视频网站男男| 亚洲色偷偷色噜噜狠狠99| 亚洲网站在线免费观看| 亚洲国产日韩在线视频| 亚洲欧洲日本在线|