robert,
June 10, 2002 at 11:58:01 AM CEST
FYI: antville-localisation pt.2 as a follow-up to hannes' timezone-support i changed the way the application-messages of antville are generated. app-messages are now defined in central files (called 'messages_[lang].js', where [lang] should be the two-character-code of the language (e.g. "en", "de" ...). those messages are basically skins and are stored in an object-tree beneath app.data[lang], currently divided in two "classes" of messages: "error" and "confirm". messages can be retrieved using several global functions (in global/objectFunctions.js). variable values are passed to the skins (either one uses a single string which will be embedded instead of the placeholder <% param.value1 %> or an array which values can be referenced using .value1, .value2 and so on). depending on helmas or antvilles language setting (in server.properties resp. app.properties) or a weblog's language antville tries to retrieve the requested message. if it can't be found, it will retrieve the english version (this is currently hardcoded, but i'll change that within the upcoming antville application setup). right now there are just two languages available: english and german (my spanish is still too bad, not to mention catalan ;-) i committed the changes into a new branch in CVS called grob_messages. use cvs update -r grob_messages to check out. please give it a try and post your opinion about it. hope you like it.
tobi,
June 10, 2002 at 1:38:56 PM CEST
cool! very elegant, i just switched the language in a testblog and immediately got the german feedback "Die Ă„nderungen wurden erfolgreich gespeichert!"... wow! i noticed that the messages at login ("Please enter your login name and password" etc.) still are in english, though. could be that they were forgotten because they are not displayed via the respones.message macro...? ... comment
hns,
June 10, 2002 at 6:02:21 PM CEST
looks nice. I think if it you consider it stable this should go into the main branch. And I know I'm repeating myself, but I think we should use the term "file" instead of "goodie". ... comment
|
The Antville Server Fund has been a great success. Thanks to everybody who contributed!
online for 8550 Days
last updated: 1/4/11, 10:22 AM Youre not logged in ... Login
... home
... topics ... galleries ... Home
... Tags
... Galleries
... about antville ... download ... macros.antville.org ... help.antville.org ... translate antville! ... antville home
i understand your concerns however,
i hardly can think of a solution. certainly, if the...
by tobi (7/29/03, 9:47 AM)
Found several more similar sites
listed This is getting to be quite a concern to...
by cobalt123 (7/27/03, 7:56 PM)
Second Post Alert on Referrer
bug livecatz I put this into "help" and now here:...
by cobalt123 (7/26/03, 7:14 PM)
well it's not easy to
find from here, anyway. think we should include a link,...
by tobi (7/24/03, 11:25 AM)
clock not that it's particularly
earthshattering but the antclock is running slow by about 15...
by kohlehydrat (7/23/03, 8:25 PM)
How to log skin names
I accessed to console?? Hi, I would like to know...
by winson (7/23/03, 4:12 PM)
|