bmcminn / throwdown

A simple flat-file CMS/static site generator that consumes nothing but good ole' wholesome Markdown! Completely extensible and customizable as you see fit.
MIT License
4 stars 2 forks source link

i18n/l20n: Amend set_lang() to provide font subset context #31

Open bmcminn opened 10 years ago

bmcminn commented 10 years ago

When setting the language of the user in Throwdown, subset context should be established when l18n is determined.

This will probably require one hell of a switch tree to set all possible subsets...

bmcminn commented 10 years ago

https://github.com/ilya-dev/fuzzy This might be the best way to handle fuzzy matching partial UA lang defs against physical labels files in the i18n folder...

bmcminn commented 10 years ago

http://us2.php.net/manual/en/book.intl.php might be an even better approach