facebook

String externalization ( internationalization )

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #241876 Reply

    tadzio1
    Member

    Hi,
    I see that in the Java Eclipse Editor there is the “Externalize Strings” in the Source menu .
    It helps to find “externizable” strings in the java files and after that it automatically generates the *.properties files, with the proper Unicode escapes /u*** for non-ascii characters.
    Unfortunately it does not work for the JSP or struts – so I have to write temporary files encoded in UTF-8 and use:
    native2ascii -encoding UTF8 temporary.txt resources_xx.properties.
    Three questions:
    1. Does anybody know any better and faster method ?
    2. Is there any editor for .properties , which generates Unicode escapes automatically ( with two views: ascii code with escapes , and UTF code ).
    3. Is MyEclipse going to add full support for “String Exterialization” in the JSP and struts ? If so – when ?
    Tadzio

    #241908 Reply

    Riyad Kalla
    Member

    3. We don’t have plans for it right now, but that isn’t to say it couldn’t change very quickly if the user demand were there.

    #276435 Reply

    vitorsouza
    Member

    This message has not been recovered.

    #276449 Reply

    Riyad Kalla
    Member

    Vitor,
    There is already externalization support for Java and class files, just not for JSP files and other resources like that.

    You can try right-clicking on a package or your project, go to Source > Externalize Strings… to execute it.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: String externalization ( internationalization )

You must be logged in to post in the forum log in