Post by Stephan Beal Post by john francis lee
I need to translate the fossil interface. I have cloned the repository
and taken a quick look at the code structure. I didn't find any .pot or .po
I suppose I can just start reading the code and proceeding on my own.
Does anyone have any advice for me?
Don't do it - it will lead only to pain and suffering! 99.9% of the text
is hard coded in C. Translating it would require modifying a large number
of files, replacing huge numbers of strings _and_ potentially
breaking/debugging/rewriting lots of printf-style formatting. Fossil was
not built with i18n in mind and the code is not at all structured in way
which will support translation.
I wonder if just key parts of Fossil could be translated?
Certainly the administrative pages are huge piles of English-language text
intermixed with C code, and it would be very difficult and disruptive to
try and separate the two.
But some things, like Menu options, might be amenable to translation, no?
I agree with Stephen that a full translation of Fossil is not really
practical as it is roughly equivalent to rewriting the whole program. But
perhaps non-English speakers would appreciate at least seeing some key
navigation cues translated into their native tongue. And perhaps such a
half-translation could be accomplished without much disruption. Just
Post by Stephan Beal
----- stephan beal
fossil-users mailing list
D. Richard Hipp