Off-list, Rintze and I came to the conclusion that a processor can just treat the RS-Latn pair as a single tag, with the same fallback behaviour as a single element. In this case, sr-RS-Latn would fall back to plain-vanilla sr, with whatever default mapping defined for it in the processor (so sr-RS). That covers script variants under the RFC 5646 specificaton, and should be simple to implement in processors. citeproc-js needs a small adjustment to handle the filename in that case, but it should be easy to do.
So I'm fine with including the file in the repo, if others are happy with it. Frank On Fri, Nov 30, 2012 at 5:35 AM, Frank Bennett <[email protected]> wrote: > On Fri, Nov 30, 2012 at 1:14 AM, Avram Lyon <[email protected]> wrote: >> I know that Frank built citeproc-js to be aware of BCP 47 semantics, which >> are used extensively in MLZ, but can we do this without demanding the same >> of other processors? > > Avram, > > I think that in locale filenames, citeproc-js will only handle the > first two elements of a tag at the moment. What sort of syntax do you > have in mind? > > Frank > >> >> On Nov 28, 2012 7:33 PM, "Rintze Zelle" <[email protected]> wrote: >>> >>> A user wishes to contribute a Latin variant of the Serbian CSL locale >>> file (in addition to the existing Cyrillic variant). See >>> >>> https://github.com/citation-style-language/locales/pull/46#issuecomment-10813711 >>> >>> Is it acceptable to add a script subtag to the locale file name and >>> xml:lang value? E.g. "locales-sr-RS-Latn.xml" (for Latin) and >>> "locales-sr-RS-Cyrl.xml" (for Cyrillic) (I guess we could omit the >>> script subtag from one variant, e.g. we could keep the Cyrillic >>> variant as "locales-sr-RS.xml"). See also >>> >>> http://www.w3.org/International/articles/language-tags/Overview.en.php#script >>> >>> Rintze >>> >>> >>> ------------------------------------------------------------------------------ >>> Keep yourself connected to Go Parallel: >>> VERIFY Test and improve your parallel project with help from experts >>> and peers. http://goparallel.sourceforge.net >>> _______________________________________________ >>> xbiblio-devel mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/xbiblio-devel >> >> >> ------------------------------------------------------------------------------ >> Keep yourself connected to Go Parallel: >> VERIFY Test and improve your parallel project with help from experts >> and peers. http://goparallel.sourceforge.net >> _______________________________________________ >> xbiblio-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/xbiblio-devel >> ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: VERIFY Test and improve your parallel project with help from experts and peers. http://goparallel.sourceforge.net _______________________________________________ xbiblio-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xbiblio-devel
