The Artima Developer Community
Sponsored Link

Java Answers Forum
Externalizing Strings for *Any* File?

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Nam Tran

Posts: 1
Nickname: neuropunk
Registered: Dec, 2004

Externalizing Strings for *Any* File? Posted: Dec 15, 2004 8:24 AM
Reply to this message Reply
Advertisement
Basically, I want to take any ASCII file (.xml, .foo, .bar) and externalize the strings in the same manner as plugin.xml/plugin.properties.

Specifically, can I take any arbitrary file (i.e., foo.xml) that I create and create a corresponding 'properties' value (i.e., foo.properties)? It doesn't even have to be officially supported (like document.properties of help system, or plugin.properties associated with plugin.xml) - I would be just as happy if I could just from foo.xml add something to make it know the reference of foo.properties. Or is the using of properties file aspect closely tied with how the plugin is written itself?

Also, I've seen the method of using "nl" to internationalize, but that's not what I'm looking for - from what I can tell, you just take your current set of docs and translate it, but not really externalize it, and then sticking in directory structure for corresponding language/country.

Topic: Adding an object as an array Previous Topic   Next Topic Topic: type casting & narrowing

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use