TinyPortal

Development => International => Topic started by: agridoc on July 04, 2007, 09:03:46 PM

Title: TP 0.9.8 language files and errors
Post by: agridoc on July 04, 2007, 09:03:46 PM
At first I have to apologize as I should have seen it earlier. Unfortunately, I still have no much time available.  :(

There are changes in TP 0.9.8 language files that will affect functionality and will cause problems in use with other languages, if not properly translated.


The main problem is that, while the text remains the same in the same line, the number in the text parameter name for article options changes in TP 0.9.8.
$txt['tp-articleoptionsxx'] =

The only language file changed in TP 0.9.8 is TPortalAdmin.english.php

The main changes are

Lines 253-254

TP 0.9.7
$txt['tp-articleoptions9'] = 'Show all articles in same category';
$txt['tp-articleoptions10'] = 'Show links to other categories';


TP 0.9.8
$txt['tp-articleoptions11'] = 'Show all articles in same category';
$txt['tp-articleoptions12'] = 'Show links to other categories';



Lines 268-274

TP 0.9.7
$txt['tp-articleoptions11'] = 'Show comments underneath article';
$txt['tp-articleoptions14'] = 'Show number of views';
$txt['tp-articleoptions15'] = 'Show ratings';

$txt['tp-articleoptions12'] = 'Allow to comment?';
$txt['tp-articleoptions13'] = 'Do not collapse comments initially';
$txt['tp-articleoptions16'] = 'Allow to rate?';


TP 0.9.8
$txt['tp-articleoptions13'] = 'Show comments underneath article';
$txt['tp-articleoptions16'] = 'Show number of views';
$txt['tp-articleoptions17'] = 'Show ratings';

$txt['tp-articleoptions14'] = 'Allow to comment?';
$txt['tp-articleoptions15'] = 'Do not collapse comments initially';
$txt['tp-articleoptions18'] = 'Allow to rate?';


The _UNTRANSLATED language files are not corrected so translated files by experienced translators were wrong, while new translations are OK, as they were done from beginning.

There are also a few other changes that don't affect functionality. If necessary, I will make a full list.

They can be found easily with an ASCII compare of the english files used for translation and the files in the released version (http://www.tinyportal.net/index.php?action=tpmod;dl=item745).

The changes in numbers can be corrected but some others can't be without knowledge of the language.


ADD ON: Other changes in TPortalAdmin.english.php that will need changes of translation in language files. They are not include in UNTRANSLATED files.

Line 94
$txt['tp-numberofposts']='Number of forum-posts to show on front page:';


Line 96
$txt['tp-lengthofposts']='Number of characters to show per forum-post:';


Line 98-99
$txt['tp-onlyforum']='Only forum-posts';
$txt['tp-bothforum']='Forum-posts and articles - sorted on date';


Line 101
$txt['tp-singlepage']='Featured article and front page blocks';


Line 265
$txt['tp-frontpage_layout'] = 'Articles layout for the front page:';


Lines 375-385. They replace lines 375-381
<p><b>TP Admin</b><br />Bloc, IchBin.
    </p>
<p><b>TP Support</b><br />G6, Aku, Anunlike, Lesmond, Tuxie, deniz, nokonium, Max,
           Moocat, Rasyr, gerrymo, BorgBOB, and redone.</p>
<p><b>TP Interface</b><br />Xarcell.
<p><b>TP Server</b><br />Ray.
<p><b>TP Press</b><br />PhilH, Maya.
<p><b>TP SMF</b><br />eldacar.
<p><b>TP Themes</b><br />crip, StormLrd and RebelRose.</p>
<p><b>TP Language</b><br />Agridoc.</p>
<p><b>TP Code</b><br />JPDeni, eeek, Thurnok, J.A.Cortina and feline,</p>


Lines added, 415-437.  They are properly contained in UNTRANSLATED language files. I just put them here for a complete reference.
// 0.9.8
$txt['tp-adminpanels'] = 'Panels';
$txt['tp-adminpanels2'] = 'Settings for the panels';
$txt['tp-vertical'] = 'Show the blocks vertically(default)';
$txt['tp-horisontal'] = 'Show the blocks horizontally';
$txt['tp-grid'] = 'Show the blocks according to a grid';
$txt['tp-blockwidth'] = 'Width of each block on horizontal or grid layout';
$txt['tp-usebottombar'] = 'Use bottom panel';
$txt['tp-usetopbar'] = 'Use top panel:';
$txt['tp-hide_topbar_forum'] = 'Hide top panel when in forum?';
$txt['tp-hide_bottombar_forum'] = 'Hide bottom panel when in forum?';
$txt['tp-bottomsideblocks'] = 'Bottom Blocks';
$txt['tp-topsideblocks'] = 'Top Blocks';
$txt['tp-addbottomblock'] = 'Add Bottom Block';
$txt['tp-addtopblock'] = 'Add Top Block';
$txt['tp-moveup'] = 'Move to top blocks';
$txt['tp-movedown'] = 'Move to bottom blocks';
$txt['tp-frontpageoptions'] = 'Visual options for frontpage <br /><span class="smalltext">( disabled in Single Page option )</span>';

$txt['tp-articleoptions9'] = 'Show bottomblocks';
$txt['tp-articleoptions10'] = 'Show topblocks';
$txt['tp-shortname_article'] = 'Query title:';
$txt['tp-panelsettings'] = 'Panel Settings';



Translator credits

We had a team discussion about this. Bloc decided that a translator can add a comment in line 2 of each TP language file in the form

// [Language name] translation by [Tranlator(s) name(s)]

This is for version TP 0.9.8.
Title: Re: TP 0.9.8 language files and errors
Post by: GravuTrad on August 26, 2007, 08:24:17 PM
ok, saw (and thanks to unknownn to remember me to see this).

I do another french pack and give here.
Title: Re: TP 0.9.8 language files and errors
Post by: GravuTrad on August 26, 2007, 08:37:15 PM
packs joined.

Can someone in the team put the downloads up to date please? Thanks.
Title: Re: TP 0.9.8 language files and errors
Post by: agridoc on August 27, 2007, 05:23:35 AM
Thank you GravuTrad, I will take care of this.  :)
Title: Re: TP 0.9.8 language files and errors
Post by: GravuTrad on August 27, 2007, 11:40:10 AM
thanks agridoc. ;)

Please tell me when it will be ok, cause i don't see any french pack in the downloads for now...
Title: Re: TP 0.9.8 language files and errors
Post by: agridoc on August 27, 2007, 06:02:44 PM
I checked the files, some corrections are needed. I completed the report of changes in the first message of this topic (http://www.tinyportal.net/index.php?topic=17198.0).

It's better this way as some may not be familiar with ASCII compare.

Title: Re: TP 0.9.8 language files and errors
Post by: lbuisson on November 20, 2007, 01:07:01 PM
Hi for information zip french file seems to be corrumpt in download section :(
Title: Re: TP 0.9.8 language files and errors
Post by: lbuisson on November 20, 2007, 01:21:14 PM
Dear all,

I download Gravutrad version and found in some é problems and modify his file.

Only French file has problem not utf8
Title: Re: TP 0.9.8 language files and errors
Post by: joomlamz on March 23, 2008, 09:54:32 AM
Try download portugueses Files

all utf8 and Normal..


Thank you....