locales and text

Hello,

I’ve implemented the function that looks up the locale for the text
tag. It works great. One thing about the text tag though is that in
the styles so far there is no prefix/suffix defined. This looks of
course very odd in the output. I would suggest to not let citeproc
implementations add a space as default, but instead to let the
prefix/suffix be defined in the csl file.

Also, month names are obviously very dependent on the locale too. What
would be the best way to store these in locales.xml?

I would suggest something that is at least index based. E.g.:

January
February

Jan
Feb

Johan–
http://www.johankool.nl/

I’ve implemented the function that looks up the locale for the text
tag. It works great.

Good! I still need to add the stuff Simon was asking about (for
contributor labels in particular).

One thing about the text tag though is that in
the styles so far there is no prefix/suffix defined. This looks of
course very odd in the output. I would suggest to not let citeproc
implementations add a space as default, but instead to let the
prefix/suffix be defined in the csl file.

Agreed.

Also, month names are obviously very dependent on the locale too. What
would be the best way to store these in locales.xml?

I hadn’t thought of including them because most languages handle this
natively.

I would suggest something that is at least index based. E.g.:

January
February

Jan
Feb

That’s good if we do this.

Any thoughts about if we should?

I guess it’s easy enough; I don’t really have a strong opinion.

Bruce

2

I agree. JavaScript’s date handling functions are rather poor, so I need
terms like this too.

Simon

OK, then, I’ll add it.

Bruce

OK, then, I’ll add it.

Too late. I just did.