Closed
Bug 1174423
Opened 9 years ago
Closed 9 years ago
Disable font-variant: small-caps for ga-IE, evaluate exclusion of other locales
Categories
(www.mozilla.org :: L10N, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: flod, Assigned: kohei)
Details
(Whiteboard: [kb=1775174] )
Attachments
(1 file)
See full discussion here https://groups.google.com/forum/#!topic/mozilla.dev.l10n/DzhY-d_38HQ We're currently overriding text-transform: uppercase for ga-IE. We should do the same for font-variant, to avoid small-caps. I don't think we currently have any CSS rule using font-variant, but it doesn't hurt to add the exclusion. I think it would also be safe to exclude other locales with similar issues (Greek, Turkish). CCing localizers to check if they think otherwise.
Reporter | ||
Comment 1•9 years ago
|
||
Might also be relevant for Scottish Gaelic (gd).
Locale: el / Greek, ga-IE / Irish (Ireland), tr / Turkish
Reporter | ||
Comment 2•9 years ago
|
||
List of locales with special rules (and fonts) for mozilla.org is here https://github.com/mozilla/bedrock/tree/master/media/css/l10n/
Assignee | ||
Comment 3•9 years ago
|
||
I can send a PR shortly.
Assignee: nobody → kohei.yoshino
Status: NEW → ASSIGNED
Locale: gd / Gaelic (Scotland)
Whiteboard: [kb=1775174]
Assignee | ||
Comment 4•9 years ago
|
||
Reporter | ||
Comment 5•9 years ago
|
||
That was super fast :-) Let's make sure that we're not doing something we should not. Can you confirm that it's safer to exclude your locales from text transformations (uppercase, small-caps) for el, gd, and tr?
Flags: needinfo?(sirios2222)
Flags: needinfo?(selim)
Flags: needinfo?(bauer)
Comment 6•9 years ago
|
||
Actually, mozilla.org (Bedrock) doesn't have a problem with Turkish. text-transform: uppercase works fine as long as lang="tr" attribute is set. (This was fixed in bug 231162.)
Flags: needinfo?(selim)
Reporter | ||
Comment 7•9 years ago
|
||
(In reply to Selim Şumlu from comment #6) > Actually, mozilla.org (Bedrock) doesn't have a problem with Turkish. > > text-transform: uppercase works fine as long as lang="tr" attribute is set. > (This was fixed in bug 231162.) With all browsers? Because, for example, I noticed that Firefox works fine now with Irish, but Chrome doesn't.
Comment 8•9 years ago
|
||
(In reply to Francesco Lodolo [:flod] from comment #7) > (In reply to Selim Şumlu from comment #6) > > Actually, mozilla.org (Bedrock) doesn't have a problem with Turkish. > > > > text-transform: uppercase works fine as long as lang="tr" attribute is set. > > (This was fixed in bug 231162.) > > With all browsers? Because, for example, I noticed that Firefox works fine > now with Irish, but Chrome doesn't. Yes, works fine with Chrome and IE as well. (I didn't test with older IE versions though.)
Reporter | ||
Comment 9•9 years ago
|
||
Thanks for checking. Added the "New Tab controls" example from bug 1171839 to http://codepen.io/flodolo/pen/KpqYjX Looks like only Firefox and IE11 gets the small-caps correctly.
Reporter | ||
Updated•9 years ago
|
Summary: Disable font-variant: small-caps for ga-IE, exclude other locales (el, tr) → Disable font-variant: small-caps for ga-IE, evaluate exclusion of other locales
Comment 10•9 years ago
|
||
Since bug 307039 was fixed, capitalizing letters works fine in el locale. (there is a issue with disjunctive eta as you can see on the last comments of that bug but it doesn't cause any serious problems). I leave ni on Iosif as I am not very familiar with mozilla.org site needs, so I don't know if there is any other reason of disabling capitalizing on el locale.
Comment 11•9 years ago
|
||
(In reply to Francesco Lodolo [:flod] from comment #9) > Thanks for checking. Added the "New Tab controls" example from bug 1171839 > to http://codepen.io/flodolo/pen/KpqYjX > > Looks like only Firefox and IE11 gets the small-caps correctly. You're right, Francesco. My tests were directly on mozilla.org/tr, which doesn't make use of small-caps at the moment. Please override ONLY small-caps for Turkish.
Reporter | ||
Comment 12•9 years ago
|
||
I realize that I should have CCed Jonathan Kew from the start, since he probably knows more than everyone I know about this matter. Also: https://developer.mozilla.org/en-US/docs/Web/CSS/text-transform We probably want to replicate what we do for Turkish for Azerbaijani. Added Greek and German examples, looks like small-caps works really badly in Chrome.
Locale: az / Azerbaijani
Comment 13•9 years ago
|
||
small-caps does look bad in Chrome for el but I can't recall using it across mozilla.org unless I missed it. I am not sure what percentage of strings this might affect.
Flags: needinfo?(sirios2222)
Comment 14•9 years ago
|
||
We've had a pull request (https://github.com/mozilla/bedrock/pull/3060) open for this issue for some time, but it's marked as a work in progress pending more discussion on this bug. Have there been any new developments? I also don't think we use small-caps anywhere at present but it's not a bad idea to include an override just in case it ever comes up (for those locales that need it). The PR currently overrides both text-transform and font-variant for el, ga-IE, gd, and tr. Any others we should add?
Reporter | ||
Comment 15•9 years ago
|
||
Looks like the agreement is to disable small-caps, and keep things as they are for uppercase, since support is good. I'd say we go ahead with that, close this bug, and eventually reopen if one specific locale needs to disable it.
Flags: needinfo?(bauer)
Comment 16•9 years ago
|
||
Commits pushed to master at https://github.com/mozilla/bedrock https://github.com/mozilla/bedrock/commit/fac732dc76de7ee77434ff94017648a26ada6b6d Fix Bug 1174423 - Disable font-variant: small-caps for ga-IE, evaluate exclusion of other locales https://github.com/mozilla/bedrock/commit/c34f91e42e86bb4303dd82332b3a486f3d6e1bb3 Merge pull request #3060 from kyoshino/bug-1174423-l10n-css Fix Bug 1174423 - Disable font-variant: small-caps for ga-IE, evaluate exclusion of other locales
Updated•9 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•