With the following dsl dictionary header, GD seems to pick up the languages correctly (the Bangladesh flag is displayed in the dictionary list).
- Code: Select all
#NAME "Bengali-English Dictionary (v 0.4) [bn-en]"
#INDEX_LANGUAGE "Bengali"
#CONTENTS_LANGUAGE "English"
But then what do I need to ensure that headwords and other Bengali text is recognized? If all English is enclosed in [trn]...[/trn], is that enough -- is all text outside the [trn] tags assumed to be Bengali? Or do I also need to use the [lang] tags around the Bengali? If so, where can I look up the language ID ([lang id=xxxxx])?
(Using GD 0.9.0+git on linux - Ubuntu 10.04; also tried this on Windows Vista)