Translator_XH

Third Party Plugins to CMSimple - how to install, use and create plugins

Moderator: Tata

svasti
Posts: 1649
Joined: Wed Dec 17, 2008 5:08 pm

Re: Translator_XH

Post by svasti » Fri Nov 04, 2011 2:51 pm

Hi Christoph,
one thing I don't understand:
If I don't translate certain items, the plugin will add the item nevertheless with an empty string, e.g.:
$plugin_tx['calendar']['cf_calendar-popup']="";
However now the plugin cannot get the English text any more, it remains simply empty in my translated language.
I understand, I can set the plugin "use defaults" to 1 to put the English text into my translation.
What I want is that the plugin doesn't change the items which I do not translate. (So that even the next day I would see the yellow background of the items which are not translated.) How do I do this?

svasti aka Frank

cmb
Posts: 13273
Joined: Tue Jun 21, 2011 11:04 am
Location: Mü-Sa, RLP, DE
Contact:

Re: Translator_XH

Post by cmb » Fri Nov 04, 2011 3:09 pm

Hi Frank,

yes, I'm aware of this inconvenience (and probably should have stated it in the manual). I wanted to do it the way you prefer, but then I've stumbled across empty language strings (e.g. urichar_org). If the plugin won't save empty strings, the urichar_org will be missing in the translation, what wouldn't be a problem for CMSimple_XH 1.5, but the plugin should even be useful for older versions.

But on rethinking the problem, I found a solution. In case of new language strings I have to output a unique string (say "*** NOT YET TRANSLATED ***), and if this isn't changed when saving, the plugin should not write any language string for this key. This won't work though, if use_defaults=1.

So I guess it's time for 1beta4 ASAP.

Christoph
Last edited by cmb on Fri Nov 04, 2011 4:24 pm, edited 1 time in total.
Christoph M. Becker – Plugins for CMSimple_XH

cmb
Posts: 13273
Joined: Tue Jun 21, 2011 11:04 am
Location: Mü-Sa, RLP, DE
Contact:

Re: Translator_XH

Post by cmb » Fri Nov 04, 2011 4:23 pm

Hello community,

I've just released Translator_XH 1beta4. It's available from my website.

Translator_XH is an advanced tool for translating the CMSimple core, pluginloader and individual plugins. It's partcularly useful for translators, so the typical end-user of CMSimple does not have any need for this plugin.

The current version has to be considered Beta software! Use with caution!

The only change to 1beta3 was inspired by the latest two posts above. Have a look at the hint for default_translation in the plugin config.

Any feedback is welcome -- particularly about missing features, or functionality that could be improved.

Christoph
Christoph M. Becker – Plugins for CMSimple_XH

svasti
Posts: 1649
Joined: Wed Dec 17, 2008 5:08 pm

Re: Translator_XH

Post by svasti » Fri Nov 04, 2011 6:47 pm

Hi Christoph,
very very nice now. I played around with it a little bit and like it. Thanx very much
Frank aka svasti

oldnema
Posts: 265
Joined: Wed Jan 21, 2009 5:15 pm
Location: Czech Republic
Contact:

Re: Translator_XH

Post by oldnema » Fri Nov 04, 2011 9:17 pm

YES! :!:
Nobody knows how much time he has left ...
http://oldnema.compsys.cz/en/?Demo_templates

cmb
Posts: 13273
Joined: Tue Jun 21, 2011 11:04 am
Location: Mü-Sa, RLP, DE
Contact:

Re: Translator_XH

Post by cmb » Fri Dec 20, 2013 7:02 pm

Hello community,

I have just released Translator_XH 1beta5.

The most important improvement: it has full support for CMSimple_XH 1.6 now. ;)

Enjoy,
Christoph

PS:
it has full support for CMSimple_XH 1.6
Um, not really. The metaXY.php files cannot be translated with Translator_XH yet.
Last edited by cmb on Sun Jan 12, 2014 6:53 pm, edited 1 time in total.
Reason: added PS
Christoph M. Becker – Plugins for CMSimple_XH

cmb
Posts: 13273
Joined: Tue Jun 21, 2011 11:04 am
Location: Mü-Sa, RLP, DE
Contact:

Re: Translator_XH

Post by cmb » Sun Jan 12, 2014 6:52 pm

Hello Community,

I've just released Translator_XH 1beta6.

I have fixed the bug reported by tanavots. The Update is strongly recommended.

Enjoy,
Christoph
Last edited by cmb on Wed Jan 15, 2014 9:21 pm, edited 1 time in total.
Reason: removed outdated link
Christoph M. Becker – Plugins for CMSimple_XH

cmb
Posts: 13273
Joined: Tue Jun 21, 2011 11:04 am
Location: Mü-Sa, RLP, DE
Contact:

Re: Translator_XH

Post by cmb » Wed Jan 15, 2014 9:19 pm

Hello Community,

I've just released Translator_XH 1beta7.

I have fixed a bug, where empty and default language strings have been saved (reported by simpleSolutions.dk).

Enjoy,
Christoph
Christoph M. Becker – Plugins for CMSimple_XH

cmb
Posts: 13273
Joined: Tue Jun 21, 2011 11:04 am
Location: Mü-Sa, RLP, DE
Contact:

Re: Translator_XH

Post by cmb » Tue Jun 13, 2017 10:28 pm

Hi everybody!

Translator_XH 1.0beta8 has just been released.

Most notably, 1.0beta8 is supposed to be compatible with CMSimple_XH 1.7.0. For further details see the changelog.

Enjoy!
Christoph M. Becker – Plugins for CMSimple_XH

Post Reply