[KimDaBa] i18n of index.xml

Jesper K. Pedersen blackie at blackie.dk
Mon Mar 21 07:54:02 GMT 2005


Just translate it back to Persons, Locations, Keywords. In the KimDaBa code I 
check against these, and do something like: 
if ( name == "Locations" ) 
  return i18n("Locations");

On Friday 18 March 2005 19:16, Florian Lindner wrote:
| Am Dienstag, 15. März 2005 13:06 schrieb Florian Lindner:
| > Hello,
| > I'm running a German version of Kimdaba 2.0.
| > In my index.xml I've a segments like that:
| >
| >   <option viewtype="0" viewsize="0" icon="personal" name="Personen"
| > show="1" > <value value="Doris" />
| >    [...]
| >    <value value="Anna" />
| >   </option>
| >
| > The attribute name has the i18n value Personen (=persons).
| >
| > The properties of images use this name as reference:
| >
| >   <image [...] >
| >    <options>
| >     <option name="Personen" >
| >      <value value="Florian" />
| >     </option>
| >    </options>
| >   </image>
| >
| > Obviously the value of name is localized. Why?
| > What happens if I use this index.xml in a non-German version of Kimdaba?
| > I think it would be better to have the captions of data types
| > non-localized. But I also think that you might have a good reason to do
| > it...
|
| Any way to remove the translated parts of a existing index.xml?
|
| Florian
|
| _______________________________________________
| KimDaBa mailing list
| KimDaBa at klaralvdalens-datakonsult.se
| http://sulaco.hrhansen.dk/mailman/listinfo/kimdaba

-- 
Having trouble finding a given image in your collection containing
thousands of images?

http://ktown.kde.org/kimdaba might be the answer.



More information about the Kphotoalbum mailing list