TinyPortal

General => Chit chat => Topic started by: domp on October 24, 2005, 03:27:01 AM

Title: language file
Post by: domp on October 24, 2005, 03:27:01 AM
I'm using the dutch languagefile for testing. One problem I discovered is in the userbox. where it should say PM: #  is just gives the number of messages. Also no text field where it says "Show unread" and "Show replies" "Total Loggen IN: too..

I've been looking true a bunch of files but really dizzy now.. Any idea what file that text is in ??

Btw its the userbox like the one at the left of this text :D
Title: Re: language file
Post by: IchBin on October 24, 2005, 03:37:35 AM
It would probably be in TPortal.dutch.php file which should be in the default/languages folder I believe.
Title: Re: language file
Post by: domp on October 24, 2005, 03:50:20 AM
Yeah I think the same but no idea where to look since it says nothing :| 
Title: Re: language file
Post by: bloc on October 24, 2005, 11:31:44 AM
Those are new..so they are in the TPortal.english.php, but not in the TPortal.dutch.php...add these strings to it(untranslated):

// for userbox block
$txt['tp-pm']='PM: ';
$txt['tp-pm2']='New: ';
$txt['tp-unread']='Show unread';
$txt['tp-replies']='Show replies';
$txt['tp_unapproved_members']='Unapproved: ';
$txt['tp_maintenace'] = 'Maintenace Mode';
$txt['tp-loggedintime'] = 'Total Logged In:';
$txt['tp-writearticle']= 'Submit an article!';
$txt['tp-editarticles']= 'Edit articles';
$txt['tp-editarticle']= 'Edit article';

// 0.74 - 0.8 new
$txt['tp-stats'] = 'Stats';
$txt['tp-guests'] = 'Guests';
$txt['tp-total'] = 'Total';
$txt['tp-users'] = 'Users';
$txt['tp-mostonline-today'] = 'Online Today';
$txt['tp-mostonline'] = 'Online Ever';
$txt['tp-latest'] = 'Latest';
Title: Re: language file
Post by: domp on October 24, 2005, 03:07:59 PM
Thanks that did the trick..

I added the dutch langauge file for use with TP 0.75.

I was really dizzy from looking everywhere but this made sense :D