Comment #16 on issue 15558 by balla.peter: Add Hungarian dictionary after
verifying quality
http://code.google.com/p/chromium/issues/detail?id=15558
This is a hack -> download the dictionary tool to convert the .dic .aff
files into
the
chrome's .bdic format.
// This tool converts Hunspell .aff/.dic pairs to a combined binary
dictionary
// format (.bdic). This format is more compact, and can be more efficiently
// read by the client application.
//
// We do this conversion manually before publishing dictionary files. It is
not
// part of any build process.
src.chromium.org/viewvc/chrome/trunk/src/chrome/tools/convert_dict/convert_dict.cc?
view=markup
int PrintHelp() {
printf("Usage: convert_dict <dicfile base name>\n\n");
printf("Example:\n");
printf(" convert_dict en-US\nwill read en-US.dic / en-US.aff and\n");
printf("generate en-US.bdic\n\n");
return 1;
}
and get the 1.5 data files from here (or 1.4) ->
sourceforge.net/projects/magyarispell/files/Magyar%20Ispell/1.5/hu_HU-
1.5.tar.gz/download
\chromium\src\chrome\browser\spellchecker.cc
static const struct {
// The language.
const char* language;
// The corresponding language and region, used by the dictionaries.
const char* language_region;
} g_supported_spellchecker_languages[] = {
{"en-US", "en-US"},
{"en-GB", "en-GB"},
{"en-AU", "en-AU"},
{"fr", "fr-FR"},
...
{"pl", "pl-PL"},
// {"th", "th-TH"}, // Not to be included in Spellchecker as per B=1277824
{"sv", "sv-SE"},
...
// {"hu", "hu-HU"}, // Not to be included in Spellchecker as per B=1277824
{"he", "he-IL"},
This is a bug id, or what B=1277824 ?
piszes
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs