[Pmwiki-users] Allowed attachments on pmwiki.org : .properties

Ciaran ciaranj
Thu Dec 16 00:33:00 CST 2004

On Wed, 15 Dec 2004 15:02:28 -0700, Patrick R. Michaud
<pmichaud at pobox.com> wrote:
> On Wed, Dec 15, 2004 at 09:05:46PM +0000, Ciaran wrote:
> > Hi Pm,
> > Would it be possible to enable ".properties" file extensions on
> > pmwiki.org as I'd like to attach an example i18n file to the
> > PmWikiDraw cookbook entry and didn't particularly want to arbritarily
> > rename it .properties.txt.  Obviously if this is what you would prefer
> > I'll happily do that   instead.
> Is ".properties" a standard file extension used somewhere, or is it
> just used for this particular application?
> More to the point, what MIME-type would be associated with ".properties"?
> Pm
".properties" Is the standard extension for property files in Java. 
These files are similar to windows ".ini" files.  In that they contain
a list of name-value pairs which can be loaded in automatically and
used to configure a system at load-time.  They are used primarily for
i18n of an application as the system searches for locale-specific
variants of a provided property file name automatically which can make
the whole i18n issue very simple for the application programmer.
[Which is why PmWikiDraw fully supports, English, French and German so

As to the mime-type, thats a damn good question, I don't think there's
a specific mime-type assigned to them, and they're really just
"text/plain" as far as I'm concerned, but as I said if its too much
trouble I'll rename them .properties.txt.  I just wanted to avoid
unneccessary confusion (and frighten off potential translators <g>).

Please find attached an example property file.
- ciaran
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Tools.properties
Type: application/octet-stream
Size: 499 bytes
Desc: not available
Url : /pipermail/pmwiki-users_pmichaud.com/attachments/20041216/7f604a26/Tools.obj

More information about the pmwiki-users mailing list