Perl: the Markov chain saw | |
PerlMonks |
Re^2: Extracting appropriate language text from HTML databy UnderMine (Friar) |
on May 28, 2006 at 00:24 UTC ( [id://552097]=note: print w/replies, xml ) | Need Help?? |
The main problem is that I am trying to introduce a multilingual facility to a legacy system without having to do a complete rewrite. Adding a language field to the database sounds simple but would require a redesign of the whole system. There are currently about 20k documents in a variety of english, french, german or italian in the database. Some of these will not be translated but most will need to be in at least english probably french and their native language. Adding the tags would be straight forward and even may be possible to automate the update. It would also make it easy to do coverage reports and other such things. I did mention that the code was a sample extracted out of a large system. The full system uses I18N::LangTags and I18N::AcceptLanguage to determine the best choice backing out using panic_languages if neccessary. Thanks
In Section
Seekers of Perl Wisdom
|
|