Elxis CMS Forum
Support => Elxis 4.x/5.x DEV => Topic started 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.
-
As far as i know nobody has started translation in Italian.
-
I do it. will be ready at soon ;D
-
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
-
Italian language ready
;D ;D ;D
-
Bravo Speck! Congratulations!
-
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.
-
Thank you speck !!! :D
Ciao
-
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
-
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.';
-
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.
-
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
<?php
$x = 'You don\'t need to by angry!';
echo 'var test = \''.addslashes($x).'\';';
?>
-
this:
$_lang['ARTICLES_ON_CAT'] = "Articles on category %s";
with this:
$_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.