[development] Another translation module
Jose A. Reyero
jareyero at wanadoo.es
Mon Nov 21 12:48:22 UTC 2005
I've been looking at your module, mostly looking for some new ideas to
add into i18n module :-) -Btw, the .htaccess part of the patch doesn't apply
It seems to me that the data model to keep the translations is quite
similar, and compatible in both modules, but the management of paths and
links is quite different. Actually, I was thinking of adding some
options about that 'links to node translations' in next version of i18n
A few things I dont fully understand are:
- What is the idea of that "System locale settings" ?
- Why aren't you using locale strings for that "string_translation" table?
- Does it play nice with the cache system?
Besides that, I think both modules share the same goal, and quite
similar approach. So, could you tell me the features you are missing in
i18n.module so maybe we can work out something together?
Rob Ellis wrote:
>I just added yet another content translation module to CVS:
>Apologies about the name, but 'translation' is already taken,
>and I couldn't think of something short-but-meaningful
>to use instead... 'tr' was used for development, so I just
>left it as that.
>The module is a recent complete rewrite of something that was
>developed early this year for the Canadian New Democratic Party
>web site (www.ndp.ca). At the time, we had requirements that the
>existing i18n module didn't meet, and I wasn't aware of the
>contributed 'translation' module.
>The 'tr' module in it's current incarnation is being used by
>my former employer for several sites, in french and english,
>english and inuktitut, and french and english and inuktitut...
>They're finding it useful.
>Some features are:
> - content switching based on language
> - language switching based on hostname or url-path-prefix or ?l=xx
> - per node 'translate' links for untranslated content
> - per language 'edit' links for existing translations
> - generated translation links for use in templates
> - custom 404 page for missing translations (optional -- will
> show untranslated content otherwise)
> - admin node list filtered by language or "untranslated"
> - translated taxonomy term names
> - translated menu item titles
>It's a little sketchy in places, and it requires patches to
>the Drupal core, but small ones. The patches at the moment
>are for DRUPAL-4-6-3.
>At least it might be interesting for people working on similar
>content translation schemes, and some people might find it
>useful as is.
>I'm not sure about how to tag this initial import -- since the
>patches are for DRUPAL-4-6-3, I thought branching it for
>4.6.3 would be the thing to do, but I'm not sure.
>Help, comments would be appreciated.
>Rob Ellis <rob at web.ca>
More information about the development