Translations for CMSimple_XH 1.5

Discussions and requests related to new CMSimple features, plugins, templates etc. and how to develop.
Please don't ask for support at this forums!
Post Reply
Tata
Posts: 3588
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: Translations for CMSimple_XH 1.5

Post by Tata » Fri Oct 21, 2011 6:39 am

Hi, everyone!
I made a couple of translations for another developers. And some of them provided me with a small application, which opened all necessary files (to be translated) in a simple form with 3 a form of 3 columns:
[language][___________________]
[translator][___________________]
[variable] [en value] [translation]
Here the [translation] field was editable.

If an upgrade was ready and I opened my last translation, new wariables were included there on their proper positions with e.g. en values and a comment "TRANSLATION MISSING"
Would this not be possible to make a plugin? Such plugin would sure download only by translators or maybe webmasters who need make some special adjustments in their native expressions.
I mean:
CMS is delivered with en and de. Launching the plugin would ask which language is going to be translated (eventually which language is to be used as a source). Selecting/giving and confirmimg the language, all "language" files would be created with chosen source content (exact copies of en/de - maybe later with any available language if installed).
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

Gert
Posts: 3078
Joined: Fri May 30, 2008 4:53 pm
Location: Berlin
Contact:

Re: Translations for CMSimple_XH 1.5

Post by Gert » Fri Oct 21, 2011 8:45 am

Hi Tata,

since we have CMSimple_XH 1.5, CMSimple_XH itself is a nice Tool to translate.

1. Add your old sk.php to CMSimple_XH 1.5 RC

2. Copy the folder 2lang => sk

3. go to the new subsite "sk" and login

4. Call Nastavenia => CMSimple => Language

Now you have shown the complete new sk.php, save it, and the new sk.php is saved, with the old slovak Variables and the new Variables in English.

Now you can translate the English terms of your sk.php by the backend of CMSimple_XH or directly in the file.

The same procedure is possible for the Plugins, but for meta_tags and page_params you have to rename _admin.php => admin.php (remove the "_"), so that the plugin menu is visible,

Gert
Gert Ebersbach | CMSimple | Templates - Plugins - Services

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: Translations for CMSimple_XH 1.5

Post by cmb » Fri Oct 21, 2011 10:19 am

Hello Tata, hello Gert,
Tata wrote:Would this not be possible to make a plugin?
Yes, it would be possible. But (a) it would take time (and at least I currently don't know where to start -- there's so much to do) and (b) as Gert already mentioned, the new default-language feature of CMSimple might be nearly as good as this plugin (and it's ready to use).

If you want to translate from another language than English, just copy e.g. de.php to default.php, add the old sk.php to the new installation and you will see all new language strings in German.

BTW: If you want to translate the filebrowser plugin this way, just use the following URL directly (as no link to the plugin language is included in the back-end): http://www.example.com/?&filebrowser&ad ... lugin_edit

Christoph
Christoph M. Becker – Plugins for CMSimple_XH

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: Translations for CMSimple_XH 1.5

Post by cmb » Sun Oct 23, 2011 2:56 pm

Hello Community,

we've found some issues regarding the translation facility. These are resolved and a RC2 is available. Please use this version for your translations only.

If you've already done the translations, please check the changed language strings.

cmsimple/languages/default.php:

Code: Select all

$tx[help][editmenu_scroll]
$tx[help][langconfig]
$tx[help][locator_show_homepage]
$tx[help][mailform_captcha]
$tx[help][uri_seperator]
$tx[help][xhtml_amp]
$tx[help][xhtml_endtags]
plugins/filebrowser/languages/default.php: nearly all!

plugins/meta_tags/languages/default.php

Code: Select all

$plugin_tx[meta_tags][hint_robots]
plugins/page_params/languages/default.php

Code: Select all

$plugin_tx[page_params[hint_published]
$plugin_tx[page_params[hint_linked_to_menu]
$plugin_tx[page_params[hint_last_edit]
plugins/pagemanager/languages/default.php

Code: Select all

$plugin_tx[pagemanager][cf_verbose]
$plugin_tx[pagemanager][cf_toolbar_show]
$plugin_tx[pagemanager][cf_toolbar_vertical]
$plugin_tx[pagemanager][cf_treeview_theme]
$plugin_tx[pagemanager][cf_treeview_animation]
The necessary changes for Pagemanager for Czech, Danish and Slovak are already included in the latest release.

Christoph
Christoph M. Becker – Plugins for CMSimple_XH

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: Translations for CMSimple_XH 1.5

Post by cmb » Wed Nov 02, 2011 11:04 am

Hello Community,

I've assembled a language pack of CMSimple_XH 1.5RC2 for translators. This is particularly useful in combination with the Translator_XH plugin, because it contains additional hints for translators, which will be displayed when hovering over the help icons in Translator_XH's translation editor.

To use it, download and install Translator_XH. Then download the language pack, unzip it, and upload the contents of the zip file into the root of the CMSimple_XH installation. Note that all english language files of the existing installation will be overwritten. Translator_XH and the language pack don't require an installation of CMSimple_XH 15RC2 -- you can use it probably with any UTF-8 encoded CMSimple_XH version.

Christoph
Christoph M. Becker – Plugins for CMSimple_XH

Post Reply