On Thu, 20 Sep 2012 Uwe Lück submitted the
langcode
package.
Summary description: language-dependent settings based on language codes License type: lppl
Announcement text: ----------------------------------------------------------------------
`langcode.sty' in the first instance provides a command
uselangcode{<chars>}
to adjust language-dependent settings, such as key words, typographical conventions, and language codes (ISO-639-1). An author frequently writing documents in two or more languages can use the same commands independently of the language, provided they are gathered in a list macro to be used by the `dowith' package. If `<cmd>' is in the list, it is set to work like `<chars><cmd>', and a macro `langcode' will expand to <chars> (the respective tokens), usable in URLs.
The package is ``generic, based on `plainpkg'. The code has been used with `morehype' and `catchdq' (`catcodes'), but may be useful more generally.
----------------------------------------------------------------------
This package is located at http://mirror.ctan.org/macros/generic/langcode . More information is at http://www.ctan.org/pkg/langcode (if the package is new it may take a day for that information to appear). We are supported by the TeX Users Group http://www.tug.org . Please join a users group; see http://www.tug.org/usergroups.html .
------------------------------------------------------------------------
Thanks for the upload.
For the CTAN Team Rainer Schöpf