Closed (won't fix)
Project:
Drupal core
Version:
x.y.z
Component:
base system
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
24 Jan 2005 at 00:48 UTC
Updated:
21 Aug 2005 at 22:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
chx commentedSo simple, so useful. For example theme settings can be an i18n variable, thus your name, mission etc can be international without any more code.
Comment #2
chx commentedFollowing moshe's advice from http://drupal.org/node/16069 here is another, more readable version.
Comment #3
chx commented:( Wrong file.
Comment #4
chx commentedForget these and stick to jose's patches. module_invoke is not available at this point...
Comment #5
Steven commentedNot all variables contain text and not all of them should be possible to change randomly. This whole approach to internationalisation seems a bit backwards to me: there will always be tables with text that you haven't translated. Shouldn't we be doing this at the string level? That's the only thing that should be changed, no?
Comment #6
gábor hojtsySteven, doing it on the string level is not possible without heavy Drupal patching. Doing it on the variable level would open up some doors at least. It would not enable menu translation for example, but it would enable a lot of stuff to be translated. With a horrible UI by the way, where you would need to swicth the complete UI language to translate the user registration mail or the story submission guidelines to another language... It might not be the best way to go, but it is the only way to advance right now, or the i18n effort will get stuck until 4.7 comes around.
Comment #7
jose reyero commentedThe variables to be translated are to be defined in the config file, but a list of variables 'worth being translated' will be included in i18n documentation. Though maybe this is not an optimal approach from the db point of view -language is stored in the variable name itself-, I think it is the better one when you balance functionality/flexibility/patching required.
About the interface, I agree with Goba. But this patch is only about core support, a specific interface may be added later as a part of i18n module.
Comment #8
(not verified) commentedUpdate to HEAD
Comment #9
chx commentedformer post is mine (chx)
Comment #10
chx commentedWell, the patches have not made it for 4.6, let's see what we can do for 4.7. To begin with, I reroll the patches.
Comment #11
chx commentedNo longer needed.