Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED.infopath-2-old.ucsd.edu!not-for-mail From: Keith Thompson Newsgroups: comp.arch.embedded,comp.lang.c Subject: Re: Multi-language support on embedded plarforms Date: Tue, 05 Sep 2017 15:17:56 -0700 Organization: None to speak of Message-ID: References: <83etqc173gvifoa9hpp1ucrnuf481b91tg@4ax.com> <8v7uqc57sf3glk5fpuat1cs5srt23r5b76@4ax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: reader.eternal-september.org; posting-host="infopath-2-old.ucsd.edu:132.239.50.183"; logging-data="11571"; mail-complaints-to="abuse@eternal-september.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:00vsZt84SDQ3/6/AY+XvliAONxg= Xref: csiph.com comp.arch.embedded:27244 comp.lang.c:119029 Robert Wessel writes: > On Wed, 6 Sep 2017 07:50:52 +1200, Ian Collins > wrote: >>On 09/ 6/17 02:56 AM, Robert Wessel wrote: [...] >>> Paul mentioned the difficulty of keeping the different translations in >>> sync; the preprocessor can help there too, if you put a version code >>> (a timestamp, in our case) on each version of each message. Then the >>> preprocessor can warn if the English message was updated without the >>> timestamp being updated (hopefully after being reviewed!) on the >>> Italian message. >> >>If you store your spreadsheet in plain text (SCV), your version control >>system can keep track of changes for you! > > > Well yes, (and ours are text based), but I've yet to see a SCM that > can tell you that someone updated the English version of message#14, > but hasn't validated or updated the Italian one yet. You can > certainly get a diff and manually see where changes have been made, > but that still leaves you with a manual comparison to the > translations, and no way of tracking that the validations have been > done. The "git blame" command tells you, for each line in a file, when that line was most recently modified. Other SCMs have similar tools. I imagine you could build some tools on top of that that could warn you, for example, that the English version of message #14 was updated yesterday but the Italian version hasn't been changed in the last year. -- Keith Thompson (The_Other_Keith) kst-u@mib.org Working, but not speaking, for JetHead Development, Inc. "We must do something. This is something. Therefore, we must do this." -- Antony Jay and Jonathan Lynn, "Yes Minister"