[tw] Re: How to translate plugins or macros?

2011-03-10 Thread Reto
When it comes to extending TW via plugins or macros... you will loose all language customizations, ShadowStyleSheetDefaults or variable configuration in general that you've made in the plugin tiddler when you try to update from a non localized version. This is what I am trying to avoid ...

[tw] Re: How to translate plugins or macros?

2011-03-10 Thread Måns
Hi Reto This is some code of ReminderMacros: config.macros.reminders[todayString] = Today; config.macros.reminders[tomorrowString] = Tomorrow; config.macros.reminders[ndaysString] = DIFF days; config.macros.reminders[emtpyShowRemindersString] = There are no upcoming events; Is this

[tw] Re: How to translate plugins or macros?

2011-03-10 Thread Eric Shulman
config.macros.reminders[todayString] = Today; config.macros.reminders[tomorrowString] = Tomorrow; config.macros.reminders[ndaysString] = DIFF days; config.macros.reminders[emtpyShowRemindersString] = There are no upcoming events; Translate everything inside double citationmarks, save

[tw] Re: How to translate plugins or macros?

2011-03-10 Thread Måns
Hi Eric Only translate quoted text that is on the RIGHT of the = sign.  The text inside the [...] must NOT be translated... those are internal variable names, used by the plugin code. Thanks for coming to the rescue here, - it could have gone terribly wrong :-| (I must have forgotten to put

[tw] Re: How to translate plugins or macros?

2011-03-08 Thread Reto
Hi Måns Thanks for your reply. Sometimes it's just a matter of replacing buttonnames etc. - some plugins have strings meant for localisation... Could you point to a plugin which you'd want to translate. I might be able to help - as I've made a few translations myself... For instance the

[tw] Re: How to translate plugins or macros?

2011-03-08 Thread Måns
Hi Reto Dateconfig does some og the job: http://www.tiddlytools.com/#DatePluginConfig and here's an example of a CalendarPluginConfig: http://klasser.tiddlyspace.com/#CalendarPluginConfig Cheers Måns Mårtensson On 8 Mar., 10:16, Reto reto.sta...@gmail.com wrote: Hi Måns Thanks for your

[tw] Re: How to translate plugins or macros?

2011-03-08 Thread Tobias Beer
When it comes to extending TW via plugins or macros... you will loose all language customizations, ShadowStyleSheetDefaults or variable configuration in general that you've made in the plugin tiddler when you try to update from a non localized version. This could be handled via repos of localized