<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
    主站蜘蛛池模板: 久久精品国产亚洲AV果冻传媒| 久久影视综合亚洲| 亚洲精品国产第1页| 久久久久久夜精品精品免费啦| 国产国拍精品亚洲AV片| 日本免费A级毛一片| 久久精品亚洲综合专区| 久久爰www免费人成| 亚洲专区一路线二| 成年在线观看网站免费| 亚洲精品成a人在线观看☆| 国产一级高清视频免费看| 免费在线观看一区| 亚洲精品无码AV人在线播放| 七色永久性tv网站免费看| 亚洲精品中文字幕无乱码| 国产一卡2卡3卡4卡2021免费观看 国产一卡2卡3卡4卡无卡免费视频 | 日韩大片在线永久免费观看网站 | 在线观看亚洲天天一三视| 国产午夜无码精品免费看| 久久久久亚洲精品日久生情| 精品久久久久久久久免费影院| 亚洲午夜无码久久久久软件| 全黄性性激高免费视频| 中文成人久久久久影院免费观看 | 中文字幕乱理片免费完整的| 少妇中文字幕乱码亚洲影视 | 在线观看免费黄网站| 亚洲第一永久在线观看| 成人免费视频软件网站| XXX2高清在线观看免费视频| 亚洲经典在线中文字幕| 情侣视频精品免费的国产| a级毛片在线免费观看| 亚洲AV无码久久久久网站蜜桃| 免费在线黄色网址| 免费A级毛片无码A∨中文字幕下载| 亚洲乱码在线卡一卡二卡新区| 久久亚洲精品无码观看不卡| 中文字幕在线免费观看| 一级毛片免费在线播放|