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

前端 未结 8 1792
死守一世寂寞
死守一世寂寞 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.

    0 讨论(0)
  • 2021-02-07 18:13

    Globalyzer has extensive capabilities to detect, manage and externalize strings and speeds up the work dramatically over looking at strings and externalizing one by one. You can filter the strings as well see them in context and then either externalize one by one, or in batches. It works for a wide variety of programming languages and resource types, of course including Java. Plus Globalyzer finds much more than embedded strings for your internationalization projects. You can read more at http://lingoport.com/globalyzer and there's links there to sign up for a demo account. Globalyzer was first built for performing big internationalization service projects and then over the years it's grown in to a full scale enterprise tool for making sure development gets and stays internationalized.

    0 讨论(0)
提交回复
热议问题