https://bugzilla.wikimedia.org/show_bug.cgi?id=41716

--- Comment #9 from Gabriel Wicke <[email protected]> ---
A few notes from IRC:


[09:59] <gwicke> marktraceur: I browsed the LanguageConverter source a bit
[09:59] <gwicke> there is an autoConvert method that simply converts all text
based on a dictionary lookup
[10:00] <gwicke> it only excludes markup and script/code blocks
[10:00] <gwicke> the default search language for Chinese seems to be zh-hans
(simplified)
[10:01] <gwicke> am not sure when the special conversion syntax is used in
practice
[10:03] --> tewwy has joined this channel (~tychay@wikimedia/Tychay).
[10:03] <gwicke> conversion is restricted to those blocks when using convert()
and convertTo()
[10:03] <gwicke> plus special conversion for link targets and headings
[10:04] <gwicke> the conversion itself is performed using autoConvert (the
dictionary-based method)
[10:06] * cscott is reading backlog
[10:07] <cscott> yeah, i mentioned getting minority-language buy-in in the
meeting yesterday, thinking specifically of how hard it's been to get i18n
feedback
[10:07] --> HaeB has joined this channel (~quassel@wikipedia/HochaufeinemBaum).
[10:08] <cscott> this languageconverter thing is changing simplified chinese to
traditional, and vice-versa?  ie, mainland-to-taiwan and back?
[10:13] <gwicke> cscott: there are four variants for Chinese I think
[10:13] <gwicke> Serbian and some other languages have variants too
[10:14] <gwicke> marktraceur: so my reading is that normally convert() is used,
which only converts marked-up blocks (-{ }-)
[10:15] <gwicke> except for search, which uses autoconvert directly
[10:16] <gwicke> the conversion is also lossy, but less ambiguous when
converting from traditional to simplified for example
[10:16] <gwicke> now the question is how we should represent all this in the
DOM
[10:20] *** edsanders|away is now known as edsanders.
[10:20] <gwicke> on one hand it would be nice to abstract the issue, but with
the conversion being lossy that does not seem to be possible without preserving
the original (potentially mixed-variant) text

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to