Differences between revisions 10 and 11
Revision 10 as of 2006-12-14 23:25:22
Size: 1927
Editor: c-75-73-51-233
Comment:
Revision 11 as of 2007-02-06 08:21:56
Size: 5170
Editor: 219-88-100-42
Comment:
Deletions are marked like this. Additions are marked like this.
Line 26: Line 26:
Things we're not sure about:  Things we're not sure about:
Line 58: Line 58:
 [http://homepage.mac.com/bowlfuls/17.html panama canal webcam] | [http://homepage.mac.com/leitmotif1/6.html naked webcams] | [http://homepage.mac.com/absurd2/3.html free girls webcams] | [http://homepage.mac.com/pericles4/ free webcam site] | [http://homepage.mac.com/entrenches/15.html teen webcam post] | [http://homepage.mac.com/woads/20.html free webcam videos] | [http://homepage.mac.com/leitmotif1/90.html webcam old faithful] | [http://homepage.mac.com/entrenches/29.html sexy webcam dance] | [http://homepage.mac.com/leitmotif1/70.html webcam whore] | [http://homepage.mac.com/bowlfuls/65.html webcam spy] | [http://homepage.mac.com/shy3/5.html boy webcam] | [http://homepage.mac.com/annealed/12.html webcam pussy] | [http://homepage.mac.com/fagoting/38.html lesbian webcams] | [http://homepage.mac.com/gongs1/22.html private webcam] | [http://homepage.mac.com/dybbuks/17.html webcam xxx] | [http://homepage.mac.com/woads/49.html free webcam sluts] | [http://homepage.mac.com/woads/14.html amature webcam sex] | [http://homepage.mac.com/squarish/37.html webcam babes] | [http://homepage.mac.com/fagoting/36.html naughty webcam] | [http://homepage.mac.com/knob10/72.html webcam free] | [http://homepage.mac.com/calibre2/42.html webcam forum] | [http://homepage.mac.com/leitmotif1/54.html teen webcam galleries] | [http://homepage.mac.com/pericles4/9.html webcam video chat] | [http://homepage.mac.com/dogtired1/ free webcam nude] | [http://homepage.mac.com/calibre2/79.html hot webcam girls] | [http://homepage.mac.com/gruffer1/54.html chat using webcam] | [http://homepage.mac.com/shy3/58.html sexy webcam dance] | [http://homepage.mac.com/leitmotif1/29.html dancing on webcam] | [http://homepage.mac.com/dybbuks/15.html spy webcam] | [http://homepage.mac.com/petrarchan/27.html streaming live webcam] | [http://homepage.mac.com/subcranial/37.html young teen webcam] | [http://homepage.mac.com/calibre2/31.html webcam casino online] | [http://homepage.mac.com/corsica4/70.html free webcam community] | [http://homepage.mac.com/shy3/73.html nude male webcam] | [http://homepage.mac.com/leitmotif1/41.html free webcam veiwing] | [http://homepage.mac.com/subcranial/13.html live streaming webcam] | [http://homepage.mac.com/squarish/28.html homemade webcam movies] | [http://homepage.mac.com/dybbuks/19.html micro webcam] | [http://homepage.mac.com/entrenches/29.html webcam chat rooms] | [http://homepage.mac.com/annealed/4.html webcam wild] | [http://homepage.mac.com/dogtired1/63.html free webcam] | [http://homepage.mac.com/allegation/87.html bbw webcam] | [http://homepage.mac.com/fagoting/68.html webcam video] | [http://homepage.mac.com/petrarchan/62.html webcam strips] | [http://homepage.mac.com/squarish/78.html webcam nudity] | [http://homepage.mac.com/shy3/34.html nude teen webcam] | [http://homepage.mac.com/absurd2/44.html free naked webcam] | [http://homepage.mac.com/gruffer1/73.html webcam girl gallery] | [http://homepage.mac.com/calibre2/45.html webcam free sex] | [http://homepage.mac.com/knob10/5.html free webcam boys] | [http://homepage.mac.com/pericles4/2.html free milf webcams] | [http://homepage.mac.com/subcranial/67.html berber 3 barbershop webcam] | [http://homepage.mac.com/annealed/95.html teen webcams]

Things that need to be done

  • make output strings go through gettext (./)

  • detect appropriate locale for output (./)

  • store changelog and other relevant pieces in UTF8 (./)

  • make hgweb translatable
  • create translations

How to proceed

There are some unknowns here and some difficult pieces. They're getting in the way of forward progress. Thus, we should do the simple things that we know need doing incrementally and defer the hard parts.

Things we know how to do:

  • wrap all messages for gettext (./)

  • find locales on UNIX (./)

  • make gettext calls once we know the locale (./)

  • convert changelog data from a known locale to UTF8 for storage (see ChangelogEncodingPlan) (./)

  • handle locale braindamage on Windows (see ["Character Encoding On Windows"]) (./)

Things that are a bit harder:

  • make hgweb translatable
  • actually doing a translation

Things we're not sure about:

  • dealing with filesystem locales, especially on Windows

Things that are not our problem:

  • any sort of translation of repository data aside from changelogs

Some simplifying assumptions

Let's assume for now that:

  • all filenames are already UTF8
  • all existing changelog messages are UTF8 as well

Thoughts on making hgweb templates translatable

This has a few parts:

  • marking template strings as translatable
  • scanning the templates to find the translatable strings
  • doing translations in the template engine

The first step is to come up with a syntax for marking strings as translatable. Thus, we need a new markup format. Something like this ought to suffice:

<b>{{this is a translatable string}}</b>

So an initial approach is to teach hgweb about this syntax (and initially pass strings out unchanged), then go mark some strings as translatable so that the scanning piece can be done.


CategoryNewFeatures

InternationalizationPlan (last edited 2012-10-25 20:59:07 by mpm)