-
Notifications
You must be signed in to change notification settings - Fork 129
Checklist for submitting a new localisation file (.lbx)
plk edited this page Apr 25, 2016
·
2 revisions
[TOC]
- Checklist for submiting a new lbx file
- Encoding
- Bibliography Strings
1. Copy the existing file and rename it. Use the babel language identifier of the language as the file name.
2. Remove the \DeclareBibliographyExtras and \UndeclareBibliographyExtras parts (for the time being, see below for explanation.)
3. Translate the \DeclareBibliographyStrings part. Note the following:
* When using english.lbx as a template, remove the \finalandcomma macros from the translations. This is only required to support both British and American English in one file. Other modules should either place or omit a comma, depending on the language.
* Abbreviated strings must use "\adddot" or ".\isdot" at the end of the string because Biblatex's punctuation tracker distringuishes periods and abbreviation dots.
* If the language uses "\frenchspacing", only the final abbreviation dot must be marked as such. \adddot or \isdot is optional in the middle of the string.
* If the language uses "\nonfrenchspacing", all abbreviation dots must be marked as such.
- Bibliography Extras
1. What kind of dash do you use in number ranges like "35-50"?
* \textendash? \textemdash? hyphen?
* Are there any spaces around the dash?
2. What kind of dash do you use in date ranges like "1st January-3rd February 2009"?
* \textendash? \textemdash? hyphen?
* Are there any spaces around the dash?
3. In lists and enumerations, do you add a comma in addition to connectors like "and"? Examples:
* UK English: "apples, oranges** and **cherries"
* US English: "apples, oranges**, and **cherries"
4. How do you format short ordinals? Are ordinals gender/number sensitive? Examples:
* English: 1st 2nd 3rd 4th 5th ... [= gender insensitive, 1-3 number sensitive]
* German: 1. 2. 3. 4. 5. ... [= gender/number insensitive]
* Spanish: 1º 2º 3º 4º 5º ... (masc.), 1ª 2ª 3ª 4ª 5ª ... (fem.) [= gender sensitive, number insensitive]
* French: 1er 2e 3e 4e 5e ... (masc.), 1re 2e 3e 4e 5e ... (fem.) [= only 1 is gender/number sensitive]
5. What's the gender of the word "edition"?
6. What's the gender of the word "series" (of a journal)?
7. What's the long date format? Examples:
* US English: [month name] [day as number], [year] = January 31, 2009
* UK English: [day as ordinal] [month name] [year] = 31st January 2009
8. What's the short date format? Examples:
* US English: month/day/year = 01/31/2009
* UK English: day/month/year = 31/01/2009
* German: day.month.year = 31.01.2009
* Swedish: year-month-day = 2009-01-31
9. After which punctuation marks do you capitalize a word? Examples:
* after ". ! ?" (English = package default)
* after ". : ! ?" (German)