Thread (56 messages) flat view 56 messages, 5 authors, 2016-06-15

Re: [PATCH/RFC v4 1/7] Add infrastructure for translating Git with gettext

From: Peter Krefting <hidden>
Date: 2016-06-15 22:48:54

Ævar Arnfjörð Bjarmason:
Making things like wt-status.c translatable is going to be hard to do 
properly. It uses a lot of lego (sticking strings incrementally together),
However, preparing them for translation is probably going to make them 
better anyway, as this kind of string building is incredibly brittle, even 
for English strings.

You also have to look out for pluralisation issues, fortunately Gettext does 
have support for the various types of plural forms that are used, so it 
should be possible. The problem is just identifying where they are needed.
and due to the coloring of output this'll be particularly hard to convert.
Is the colouring based on knowing the contents of the actual text, or is it 
enough to know the markers? I admit not having looked at the colouring code 
at all...

-- 
\\// Peter - http://www.softwolves.pp.se/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help