mChat problems with Italian translation

Support for PhpBB3. Post here to get help with any phpBB3 related issue here
There is no support here! Only Read Access!
Forum rules
In order the get any support, you will have to do following:
1. Use a describing title!
2. Describe your problem and what happened when the problem occured
3. Tell us what version of phpBB3 you are currently using.
Else your topic may be ignored or locked!
HaxR
BBCoder II
BBCoder II
Posts: 7
Joined: 25 Apr 2010, 14:41

mChat problems with Italian translation

Post by HaxR »

Hey guys,

i translated mchat_lang.php in Italiand and copied it to my site. What i get is:

Code: Select all

You have removed the copyright from the mChat mod.<br />Please restore the entry for the copyright by editing language/en/mods/mchat_lang.php.<br />Until you do so, both this mod and your forum will not work unless you uninstall mChat.
I tried to remove the copyright from common.php and mchat_lang.php to see if it will disappear but then when i removed them, i get:

Code: Select all

BLANK PAGE
My intention was and is NOT removing the copyright, i just did it to see if it worked.

Here's my translation:

[spoiler]

Code: Select all

<?php
/**
*
* @package - mChat
* @version 1.3.5 07.10.2009
* @copyright (c) djs596 ( http://djs596.com/ ), (c) RMcGirr83 ( http://www.rmcgirr83.org/ ), (c) Stokerpiller ( http://www.phpbb3bbcodes.com/ )
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
**/

/**
* DO NOT CHANGE!
*/
if (!defined('IN_PHPBB'))
{
  exit;
}

if (empty($lang) || !is_array($lang))
{
  $lang = array();
}

// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
//
// Some characters you may want to copy&paste:
// ’ » “ ” …
//

$lang = array_merge($lang, array(

	// MCHAT
	'MCHAT_ADD'					=> 'Invia',
	'MCHAT_ARCHIVE'				=> 'Archivio',	
	'MCHAT_ARCHIVE_PAGE'		=> 'Archivio ShoutBox',
	'MCHAT_ARCHIVENOMESSAGE'	=> 'Non ci sono messaggi qui',	
	'MCHAT_AUTOUPDATE'			=> 'Auto aggiornamento ogni <strong>%d</strong> secondi',
	'MCHAT_BBCODES'				=> 'Codici BB',
	'MCHAT_CLEAN'				=> 'X',
	'MCHAT_CLEANED'				=> 'Tutti i messaggi sono stati rimossi con successo',
	'MCHAT_COPYRIGHT_CHECK'		=> '&copy; <a href="http://www.phpbb3bbcodes.com/">phpBB3BBCodes.com</a>',
	'MCHAT_DELALLMESS'			=> 'Rimuovere tutti i messaggi?',
	'MCHAT_DELCONFIRM'			=> 'Confermi la rimozione?',
	'MCHAT_DELITE'				=> 'Cancella',
	'MCHAT_EDIT'				=> 'Modifica',
	'MCHAT_EDITINFO'			=> 'Modificare il messaggio e cliccare su OK',
	'MCHAT_ENABLE'				=> 'Spiacente, la ShoutBox non è attualmente disponibile',	
	'MCHAT_ERROR'				=> 'Errore',	
	'MCHAT_FLOOD'				=> 'Non puoi inviare un altro messaggio così presto dopo l'ultimo',	
	'MCHAT_HELP'				=> '?',
	'MCHAT_HELP_INFO'			=> 'Regole: \n1. No bestemmie\n2. No pubblicità di alcun genere non relativo al DAMMA TEAM Clan\n3. Non lasciare tanti messaggi in successione\n4. Non lasciare messaggi inutili\n5. Non lasciare messaggi composti solo da faccine\n6. Il infrangere di tutte queste regole svariate volte e dopo svariati richiami dall'admin, risulterà in un ban di 5 giorni',	// \n signifies a new line //
	'MCHAT_IP'					=> 'IP:',
	'MCHAT_IP_WHOIS_FOR'		=> 'Whois IP per %s',	
	'MCHAT_LOAD'				=> 'Ricaricando...',
	'MCHAT_NO_CUSTOM_PAGE'		=> 'La pagina della ShoutBox personalizzata non è attivata in questo momento!',	
	'MCHAT_NOACCESS'			=> 'Non hai il permesso di inserire un messaggio nella ShoutBox',
	'MCHAT_NOACCESS_ARCHIVE'	=> 'Non hai il permesso di vedere l'archivio',	
	'MCHAT_NOJAVASCRIPT'		=> 'Il tuo browser non supporta JavaScript o JavaScript è disabilitato',		
	'MCHAT_NOMESSAGE'			=> 'Nessun messaggio',
	'MCHAT_NOMESSAGEINPUT'		=> 'Non hai inserito un messaggio',
	'MCHAT_NOSMILE'				=> 'Faccine non trovate',
	'MCHAT_OK'					=> 'OK',
	'MCHAT_PERMISSIONS'			=> 'Modificare le autorizzazioni degli utenti',
	'MCHAT_REPLACE_COPYRIGHT'	=> 'You have removed the copyright from the mChat mod.<br />Please restore the entry for the copyright by editing language/en/mods/mchat_lang.php.<br />Until you do so, both this mod and your forum will not work unless you uninstall mChat.',
	'MCHAT_SMILES'				=> 'Faccine',
	'MCHAT_TITLE'				=> 'ShoutBox',

	'MCHAT_TOTALMESSAGES'		=> 'Messaggi totali: <strong>%s</strong>',
	'MCHAT_USESOUND'			=> 'Abilitare suono?',
	
	// whois chatting stuff
	'MCHAT_GUEST_USERS_TOTAL'			=> '%d ospiti',
	'MCHAT_GUEST_USERS_ZERO_TOTAL'		=> '0 ospiti',
	'MCHAT_GUEST_USER_TOTAL'			=> '%d ospite',	
	'MCHAT_HIDDEN_USERS_TOTAL'			=> '%d nascosti',
	'MCHAT_HIDDEN_USERS_TOTAL_AND'		=> '%d nascosti e ',
	'MCHAT_HIDDEN_USERS_ZERO_TOTAL'		=> '0 nascosti',
	'MCHAT_HIDDEN_USERS_ZERO_TOTAL_AND'	=> '0 nascosti e ',
	'MCHAT_HIDDEN_USER_TOTAL'			=> '%d nascosto',
	'MCHAT_HIDDEN_USER_TOTAL_AND'		=> '%d nascosto e ',
	'MCHAT_ONLINE_USERS_TOTAL'			=> 'In totale ci sono <strong>%d</strong> users chatting :: ',
	'MCHAT_ONLINE_USERS_ZERO_TOTAL'		=> 'In totale ci sono <strong>0</strong> users chatting :: ',
	'MCHAT_ONLINE_USER_TOTAL'			=> ''In totale c'è <strong>%d</strong> user chatting :: ',	
	'MCHAT_REG_USERS_TOTAL'				=> '%d registrati, ',
	'MCHAT_REG_USERS_TOTAL_AND'			=> '%d registrati e ',
	'MCHAT_REG_USERS_ZERO_TOTAL'		=> '0 registrati, ',
	'MCHAT_REG_USERS_ZERO_TOTAL_AND'	=> '0 registrati e ',
	'MCHAT_REG_USER_TOTAL'				=> '%d registrato, ',
	'MCHAT_REG_USER_TOTAL_AND'			=> '%d registrato e ',	

	
	'WHO_IS_CHATTING'			=> 'Chi è nella ShoutBox',
	'WHO_IS_REFRESH_EXPLAIN'	=> 'Ricarica ogni <strong>%d</strong> secondi',
	'WHO_IS_REFRESHING'			=> 'Ricaricando',
		
	
	// BBCode Font
	'MCHAT_FONTSIZE'	=> 'Dimensione carattere:',
	'MCHAT_FONTTINY'	=> 'Minuscolo',
	'MCHAT_FONTSMALL'	=> 'Piccolo',
	'MCHAT_FONTNORMAL'	=> 'Normale',
	'MCHAT_FONTLARGE'	=> 'Grande',
	'MCHAT_FONTHUGE'	=> 'Enorme',

));
?>
[/spoiler]

Can you tell me what's wrong?

Thanks in advance.
cisco007
BBCoder VI
BBCoder VI
Posts: 1015
Joined: 16 Mar 2010, 18:14
Location: Don't really know!

Re: mChat problems with Italian translation

Post by cisco007 »

this question has already been asked a couple of times, take a look at this topic see if it helps you out!

viewtopic.php?f=19&t=456&p=938&hilit=Yo ... right#p935
HaxR
BBCoder II
BBCoder II
Posts: 7
Joined: 25 Apr 2010, 14:41

Re: mChat problems with Italian translation

Post by HaxR »

I've read it but didn't understand a lot...

Can you help me?

Thanks.

EDIT: Ok, i did another test. I left common.php unchanged with its copyright thingy. But i still get BLANK PAGE.

I think the problem is on mchat_lang.php and not common.php. =/
Last edited by HaxR on 25 Apr 2010, 15:37, edited 1 time in total.
cisco007
BBCoder VI
BBCoder VI
Posts: 1015
Joined: 16 Mar 2010, 18:14
Location: Don't really know!

Re: mChat problems with Italian translation

Post by cisco007 »

read this post!
viewtopic.php?f=19&t=456&p=938&hilit=Yo ... right#p942

change norwegian for whatever name of your style is if it's "it"
also you must upload the language file you translated to "it" language folder or whatever the name of it is!
HaxR
BBCoder II
BBCoder II
Posts: 7
Joined: 25 Apr 2010, 14:41

Re: mChat problems with Italian translation

Post by HaxR »

If you mean that the file i translated goes to both folders (it and en), yes i already that.

I stopped getting copyright error but i keep getting blank page. I didn't remove any copyright!

The only file that i changed is 'mchat_lang.php' which is in Italian on ”it' folder and English on 'en' folder.

P.S. May i ask you if you are Italian?
cisco007
BBCoder VI
BBCoder VI
Posts: 1015
Joined: 16 Mar 2010, 18:14
Location: Don't really know!

Re: mChat problems with Italian translation

Post by cisco007 »

make sure that on the file you translated there are no blank spaces before the <?php and no extra lines after the ?>
HaxR
BBCoder II
BBCoder II
Posts: 7
Joined: 25 Apr 2010, 14:41

Re: mChat problems with Italian translation

Post by HaxR »

I posted the translation in the first post and it seems like there are no errors.

Aww... I wanna use mChat! This problem of copyright is so damn frustating!

Do you know any other mods like mChat?
HaxR
BBCoder II
BBCoder II
Posts: 7
Joined: 25 Apr 2010, 14:41

Re: mChat problems with Italian translation

Post by HaxR »

Any help, please? Shall i post this issue at phpbb.com?
cisco007
BBCoder VI
BBCoder VI
Posts: 1015
Joined: 16 Mar 2010, 18:14
Location: Don't really know!

Re: mChat problems with Italian translation

Post by cisco007 »

the only thing i can think of is try to use the correct Italian language pack from phpbb.com, redo the edits for the en/language files to the Italian language files, upload a copy of the original mchat language files to the Italian language folder, don't translate them yet, then choose and test the Italian language pack on your forum, and see what happens!
User avatar
Stoker
Site Admin
Site Admin
Posts: 3558
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: mChat problems with Italian translation

Post by Stoker »

Try uploading the english language file to the italian language folder.
Board rules! No PM support
Locked