Hi,
Specially when it comes to labels, it should not be the translation's
concern to apply capitalization. If we do that, we are bound to have a lot
of places that are not consistent. Instead, we just need to apply a CSS
rule that we all agree on and all the labels will be consistent.
Take for example labels that are all upper case (in the Colibri skin, as
Caty mentioned). It would abviously have been nonsense to start modifying
all translations and setting them to upper case, but for new translations
(or some of the modified ones) to just (inevitably) forget to do that. We
don`t need this kind of extra maintenance headaches.
Regarding CPU work for upper-casing (capitalizing actually) a couple of
strings, I think we can all agree that it is negligible, otherwise CSS
itself is useless.
+1 for applying CSS capitalization as much as possible for labels, button
labels, titles, column labels/headers, etc. Of course, we still need to
come up with a clear list of cases where this can be applied and what CSS
classes we can leverage to do that. I`m still quite sure there will still
be a lot of places which are application-dependent and which we can not
catch with CSS.
Thanks,
Eduard
On Wed, Nov 12, 2014 at 12:13 PM, Ecaterina Moraru (Valica) <
valicac(a)gmail.com> wrote:
The thing is that if we do it with CSS, we just
apply a rule in the skin
and automatically we have all the translations fixed. With your solution we
would need to 'deprecate' lots of translations and just use the new format.
Is a lengthy process.
If we do it from Translations, yes we can apply it just for one language,
thing we cannot do with CSS, which applies the change globally.
The problem with changing just English is that according to Emanuel, all
the other languages will look 'less professional'.
Just for the record, in Colibri labels and buttons were uppercase.
Thanks,
Caty
On Wed, Nov 12, 2014 at 12:03 PM, vincent(a)massol.net
wrote:
Hi Caty,
On 12 Nov 2014 at 10:58:36, Ecaterina Moraru (Valica) (valicac(a)gmail.com
(mailto:valicac@gmail.com)) wrote:
Should we do the capitalization from CSS or also
when writing the
Translations?
I would like it to be through CSS. This way if someone doesn't like it,
can
create a custom skin and reset it: initial,
uppercase, etc. Also note
that
> certain languages (german for example) have meaning problems
capitalizing
> all the words.
>
> In your example:
> * “Reset to default” —> “Reset to Default”
> this cannot be done with CSS. We either capitalize all the words or
none,
we cannot
skip one.
I’d be -1 for CSS since:
* extra CPU work not required
* doesn’t work as you mentioned for “Reset to Default"
* it’s not something optional that the user should be allowed to change!
If they really want they’ll just need to override the translations
(similar
use case than if they wish to change some
wording)
Note that the rule I’m proposing is *ONLY* for English. I’m not proposing
anything for other languages (each language has its own rules regarding
Capitalization).
Thanks
-Vincent
Thanks,
Caty
On Wed, Nov 12, 2014 at 10:31 AM, Manuel Smeria wrote:
> Hello,
>
> Here's my +1.
>
> I always thought capitalized buttons look more professional :)
>
> Thanks,
> Manuel
>
> On Wed, Nov 12, 2014 at 10:21 AM, vincent(a)massol.net
> wrote:
>
> > Hi devs,
> >
> > Andrea created an issue about capitalizing button labels (
> >
http://jira.xwiki.org/browse/XWIKI-11265) and I think it’s a good
idea
> > that we decide some rules about
capitalization indeed.
> >
> > I’ve found this document from MSDN:
> >
> >
>
http://msdn.microsoft.com/en-us/library/windows/desktop/bb246428(v=vs.85).a…
>
>
> > I propose to adopt this document’s content as our rule for
Capitalization
> > and to document that in our dev best
practices on
dev.xwiki.org.
> >
> > Example of labels:
> > * “Add comment” —> “Add Comment”
> > * “Reset to default” —> “Reset to Default”
> >
> > WDYT?
> >
> > Thanks
> > -Vincent
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
devs(a)xwiki.org