Style Error: Chicago manual of style 18th edition, Latvian localisation

The Latvian localisation contains errors:
1) it adds the word "gada" to the years in in-text citation as well as in bibliographies
2) it renders erroneously dates elsewhere (eg. where it needs to be "20. oktobris" it renders "oktobrī 20")
(I cannot add screenshot as this form seems not to allow this)
  • edited 26 days ago
    That looks like it's an issue with our lv-LV locale than Chicago itself.
    https://github.com/citation-style-language/locales/blob/master/locales-lv-LV.xml

    Although maybe the year should be called with "numeric" and not "text" when we only want to show the year-date.
  • I do not have enough insight to decide which one it is. If it is a problem with the locale, should I report it elsewhere?
  • No, that was more of an internal comment for the CSL team. ;)
  • Is there a way to facilitate fixing this? my knowledge of how this works is limited. I see that what is happening is that the style adds a suffix ". gada" where it should not add such suffix. This suffix comes from the locale code:







    But I don't know if that is due to the locale or it is due to the style code itself. In some cases the long date format is used and there it is approprite and renders correctly (e.g., last visited date for webpages).

    Also: in the LV localisation it uses simple double quotation marks rather than smart ones (in English it uses the smart marks). Shoud I report it as a separate issue?
  • I am not clear on where 'gaba' should and should not appear, but the thought of @damnation that the style should use a numeric rather than a text date looks to solve it in the position you are showing.

    The quotes problem is definitely in the locale:

    https://github.com/citation-style-language/locales/blob/8ad69c12ff4fada4f693914b5e5f9c6a20f38ac9/locales-lv-LV.xml#L174

    How do quotation marks normally work in Latvian?
  • The quotation marks are correct in principle it is just the question of whether they are the "simple/dumb" or “smart curly” quotes. In word processors it is always the smart quotes (“”) that are used See the screenshot in my post above. Both problems can be seen there: the quotes are the "dumb quotes" rather than the curly smart quotes.

    And you can see the use of .gada suffix in all three cases (highlighted in yellow) there should be no suffix. In the last instance there is also a wrong rendering of the publishing date (green highlight). That should be either 20. oktobrī or 20. oktobris.
  • Is it only those points you highlighted in Chicago author–date, or are there also problems in the notes and bibliography styles?

    The 20. oktobrī problem is due to a bug in CSL itself and will probably be fixed later this year.
  • Notes and bibliography style has the same problem: year is always followed by the suffix . gada
  • It looks generally safe to render years using numeric forms, so I have proposed changing this for Chicago and allied styles here:

    https://github.com/citation-style-language/styles/pull/7986
Sign In or Register to comment.