Elxis CMS Forum

Support => Elxis 4.x/5.x DEV => Topic started by: Amigamerlin on September 24, 2012, 21:25:22

Title: Italian Translation.
Post by: Amigamerlin on September 24, 2012, 21:25:22
Hello, I'm just started Italian translation.
Anyone else are working on it ?
I don't  want to translate something already translated.
Keep me informed.

Thank you you all.
Title: Re: Italian Translation.
Post by: webgift on September 24, 2012, 21:44:59
As far as i know nobody has started translation in Italian.
Title: Re: Italian Translation.
Post by: speck on September 26, 2012, 10:09:08
I do it. will be ready at soon  ;D
Title: Re: Italian Translation.
Post by: Amigamerlin on September 26, 2012, 22:50:16
Ciao Speck , please let me know what you have already done. I'm started with translation too. We can cooperate without doing translation twice. Write me a Private message.
Ciao
Title: Re: Italian Translation.
Post by: speck on September 27, 2012, 18:18:59
Italian language ready

 ;D ;D ;D
Title: Re: Italian Translation.
Post by: webgift on September 27, 2012, 19:03:22
Bravo Speck! Congratulations!
Title: Re: Italian Translation.
Post by: datahell on September 27, 2012, 20:08:28
Italian added on Elxis 4.0 Nautilus rev1300 Beta.
Thanks!

A newer Elxis version will soon be released with all bug fixes and updates included.
Title: Re: Italian Translation.
Post by: Amigamerlin on September 28, 2012, 06:23:29
Thank you speck !!!  :D
Ciao
Title: Re: Italian Translation.
Post by: Amigamerlin on September 28, 2012, 22:17:14
For some reason it.com_user.php don't let the users manager panel to be opened.
I tried to found the problem but I was unlucky then I started again the translation using Speck file.
Now it works.
Ive do some typo error correction to the it.com_cpanel.php file too.
Both new files are attached here.

Please datahell update the beta with this new file otherwise Italian user will get serious problem using users manager menu inside control panel.
Thank you in advance.

Bye
Title: Re: Italian Translation.
Post by: datahell on September 28, 2012, 22:27:56
Don't use single quotes on strings used in javascript functions.
This creates problems:
$_lang['SURE_DEL_USER'] = 'Sei sicuro? L\'utente sarà cancellato così come tutti i suoi commenti e articoli.';
Use instead:
$_lang['SURE_DEL_USER'] = 'Sei sicuro? L utente sarà cancellato così come tutti i suoi commenti e articoli.';
Title: Re: Italian Translation.
Post by: Amigamerlin on September 28, 2012, 22:31:28
Don't use single quotes on strings used in javascript functions.
This creates problems:
$_lang['SURE_DEL_USER'] = 'Sei sicuro? L\'utente sarà cancellato così come tutti i suoi commenti e articoli.';
Use instead:
$_lang['SURE_DEL_USER'] = 'Sei sicuro? L utente sarà cancellato così come tutti i suoi commenti e articoli.';
I remodulated it in that way:  "Sei sicuro? Questo utente sarà cancellato così come tutti i suoi commenti e articoli"  But wasn't the only problem that I was facing.
Title: Re: Italian Translation.
Post by: datahell on September 28, 2012, 22:55:25
If you notice the English translations you will see that we write dont instead of don't, hasnt instead of hasn't, etc.
This is not a typography error, we do it on purpose for maximum compatibility.
The reason is that single quotes can create problems on javascript.

Example:
var test = 'You dont need to by angry!'; //this works
var test = 'You don't need to by angry!'; //this doesn't work as the quote is like terminating the test variable value and the rest code is invalid

It can work if it is escaped like this with php's function addslashes but not all js functions use addslashes on language strings:
var test = 'You don\'t need to by angry!'; //this  works

Code: [Select]
<?php 
$x 
= &#39;You don\&#39;t need to by angry!&#39;;
echo &#39;var test = \&#39;&#39;.addslashes($x).&#39;\&#39;;&#39;;
?>
Title: Re: Italian Translation.
Post by: peppemania on December 18, 2012, 11:19:50
this:
Code: [Select]
$_lang['ARTICLES_ON_CAT'] = "Articles on category %s";
with this:
Code: [Select]
$_lang['ARTICLES_ON_CAT'] = "Articoli nella categoria %s";
change "Articoli nella categoria %s" if don't like.

most important for duplicate description in google search.