Here is the XSD for the Kamion Application Data XML Format, and a sample 
kopete.xml (attached).

The other file kamion.i18n (or some other extension - open for discussion) 
would have the following format:
# Application information
name[en]=Kopete
name[sr]=...
...
description[en]=IM Program
description[sr]=...
...
# Resources information
resource_id.name[en]=...
resource_id.name[sr]=...
...
resource_id.description[en]=...
resource_id.description[sr]=...
...

This way the current bots for localization can be used here.

Hope to hear your thoughts.

Cheers.




-- 
So remember when you're feeling very small and insecure
How amazingly unlikely is your birth
And pray that there's intelligent life somewhere up in space
Because there' bugger all down here on earth.
    -- Monty Python

Attachment: appdata.xsd
Description: application/xsd

<?xml version="1.0" encoding="UTF-8"?>

<!--
    Document   : kopete.xml
    Created on : 2 March 2007, 21:14
    Author     : ivan
    Description:
        Kamion application data for Kopete
-->

<kamion version="1" xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
  xsi:noNamespaceSchemaLocation='file:/home/ivan/Projects/KamionXML/src/xml/appdata.xsd'>
  <applications>
    <application
      id="kopete"
      name="Kopete"
      icon="kopete"
      description="IM Program"
      existanceTestFile="$HOME/.kde/share/config/kopeterc"
      version="0.12.4"
    >
      <resource
        id="kopete.config"
        name="Configuration Files"
        prefix="$HOME/.kde/share/config/"
        description="Kate configuration files"
      >
        <file>kopeterc*</file>
      </resource>
      <resource
        id="kopete.data"
        name="Contacts, Themes, Images..."
        prefix="$HOME/.kde/share/apps/kopete/"
        description="Contacts, Themes, Images..."
      >
        <file>*</file>
      </resource>
      <resource
        id="kopete.history"
        name="Chat History"
        prefix="$HOME/.kde/share/apps/kopete_history/"
        description="Chat History"
      >
        <file>*</file>
      </resource>
      
    </application>
  </applications>
  <categories id="web.messaging">
    <application>kopete</application>
  </categories>
    
</kamion>

Attachment: pgpz50ZJTYMTT.pgp
Description: PGP signature

_______________________________________________
xdg mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/xdg

Reply via email to