Module talk:Lang-zh: Difference between revisions

Content deleted Content added
Line breaks: new section
Line 81:
 
For the pinyin and other latin scripts, should we mark the language as Chinese? I think this would help screen readers pronounce correctly. Perhaps most easily, wrap them as {{tlp|lang|zh-Latn|tiān yuán shù}}. --[[User:Apoc2400|Apoc2400]] ([[User talk:Apoc2400|talk]]) 20:37, 27 December 2009 (UTC)
 
== Line breaks ==
 
Something I just noticed at [[Macau]] is the first line is broken very unnaturally in between the characters of 澳门. This is browser, settings and window size dependent: I'm using Safari 4, with a relatively narrow window, e.g. 800 - 900 pixels. The whole of "门; Mandarin Pinyin:" is being treated as a unit as far as line breaks are concerned. I can also see it on the template page in the examples if I make the window narrow enough.
 
The problem seems to be the template is inserting non-breakable spaces, so it doesn't break on the spaces between English words or after the semicolons. The latter in particular is a natural place to break the line, and would deal with the problem above.
 
So can the non-breaking spaces after the semicolons be changed to normal spaces? If someone more familiar with this can look at it and see if my thinking's right I think this is a relatively straightforward fix.--<small>[[User:JohnBlackburne|JohnBlackburne]]</small><sup>[[User_talk:JohnBlackburne|words]]</sup><sub style="margin-left:-2.0ex;">[[Special:Contributions/JohnBlackburne|deeds]]</sub> 20:51, 9 April 2010 (UTC)