New Style and Locale
Hi,
I've made a new style for romanian bibliography, but I don't know how to use the translation of the terms like "accessed", "in", "and" etc.
I want some sample code, I'm not a programmer. My code is:
...
<terms>
<locale xml:lang="ro">
<term form="short" name="accessed">accesat</term>
<term form="short" name="and">si</term>
<term form="short" name="in">în</term>
</locale>
</terms>
...
<access>
<text suffix=" " term-name="accessed"/>
...
but didn't translate "accessed" to "accesat" (Romanian).
Have you an example for localize styles?
Thank you very much and excuse my English...
Mihai
I've made a new style for romanian bibliography, but I don't know how to use the translation of the terms like "accessed", "in", "and" etc.
I want some sample code, I'm not a programmer. My code is:
...
<terms>
<locale xml:lang="ro">
<term form="short" name="accessed">accesat</term>
<term form="short" name="and">si</term>
<term form="short" name="in">în</term>
</locale>
</terms>
...
<access>
<text suffix=" " term-name="accessed"/>
...
but didn't translate "accessed" to "accesat" (Romanian).
Have you an example for localize styles?
Thank you very much and excuse my English...
Mihai
So the style must use the English attribute names; otherwise it will be invalid.
The formatter uses that to look up the correct string to use depending on the language. You just need to make sure you have the correct translation in the locale file.
Also, I doubt this would be a "short" form which are typically used for abbreviations.
Mihai