Is there a semi-automated way to perform string extraction for i18n?

前端 未结 8 1790
死守一世寂寞
死守一世寂寞 2021-02-07 17:15

We have a Java project which contains a large number of English-language strings for user prompts, error messages and so forth. We want to extract all the translatable strings i

8条回答
  •  走了就别回头了
    2021-02-07 18:11

    You can use "Externalize String" method from eclipse. Open your Java file in the editor and then click on "Externalize String" in the "Source" main menu. IT generates a properties file for you with all strngs you checked in the selection.

    Hope this helps.

提交回复
热议问题