PHP-Nuke Services - Addons, Modules, Blocks Vizitati www.westdesign.ro Select Interface Language:EnglishRomanian
  Login or Register HomeForumsDownloadsYour AccountWeb LinksContact   
SectionsShow\Hide
MultiheadlinesShow\Hide
LoginShow\Hide
~ Welcome, alien
Nickname Password
(Register)

~ Membership:

Greetings to the newest member jincesoft
~ New Today: 0
~ New Yesterday: 0
~ Overall: 4306

~ People Online:
~ Visitors: 7
~ Members: 0
~ Total: 7
~Aikon is offline
on Yahoo Msg.
Link to meShow\Hide

aikons.net
Search in FeedsShow\Hide
Search in feeds
HistoryShow\Hide
On 21 May


Speed Up   Pause   Speed Down
DictionaryShow\Hide
Enter the word

Romanian users only

- aikons.net - PHP-Nuke Services Forum Index


This topic is locked: you cannot edit posts or make replies. Page 1 of 1
Multilanguage
Message Author
Reply with quote
Post Posted: Saturday 15 April, 2006 09:23

Hello and congratulations for this new version.
There are some minor corrections to bring for the multilanguage.
In the file index.php at the line 1067 changes :
Code:
             $text=" in title";

by :
Code:
             $text=_MH_INTIT;

at the line 1072 changes :
Code:
             $text=" in description";

by :
Code:
             $text=_MH_INDESCR;

and at the line 1077 changes :
Code:
               $text=" in title or in description";

by :
Code:
               $text=_MH_INTITDESC;


Cordially Wink


_________________
Stef and Co. Bénévolat sur mesure Wink

http://www.stefvar.com
View user's profile Send private message Visit poster's website
Reply with quote
Post Posted: Saturday 15 April, 2006 12:03

Oui.
Embarassed

View user's profile Send private message Visit poster's website
Reply with quote
Post Posted: Saturday 29 April, 2006 19:11

I found another two language issues:
FIND:
Code:
      echo "<tr><td align=\"center\" colspan=\"2\"><img src=\"modules/".$module_name."/images/categories/".$cats["categ_image"]."\" border=\"0\" width=\"90\" height=\"30\"  alt=\"".$cats["categ_title"]."\"></br><b>Category: ".$cats["categ_title"]."</b></td></tr>";   

REPLACE WITH:
Code:
      echo "<tr><td align=\"center\" colspan=\"2\"><img src=\"modules/".$module_name."/images/categories/".$cats["categ_image"]."\" border=\"0\" width=\"90\" height=\"30\"  alt=\"".$cats["categ_title"]."\"></br><b>"._MH_CAT .$cats["categ_title"]."</b></td></tr>";   

FIND:
Code:
      echo "<tr><td align=\"center\"><img src=\"modules/".$module_name."/images/categories/".$cat["categ_image"]."\" border=\"0\" width=\"90\" height=\"30\"  alt=\"".$cat["categ_title"]."\"></br><b>Category: ".$cat["categ_title"]."</b></td></tr>";   

REPLACE WITH:
Code:
      echo "<tr><td align=\"center\"><img src=\"modules/".$module_name."/images/categories/".$cat["categ_image"]."\" border=\"0\" width=\"90\" height=\"30\"  alt=\"".$cat["categ_title"]."\"></br><b>"._MH_CAT.$cat["categ_title"]."</b></td></tr>";   


View user's profile Send private message
Reply with quote
Post Posted: Saturday 29 April, 2006 22:39

Indeed. Thanks.

View user's profile Send private message Visit poster's website
Reply with quote
Post Posted: Thursday 11 May, 2006 08:39

I would like to change the time/date format to another language (german)
If possible please advice how to do it.
Thank you in advance

chiroptera

View user's profile Send private message
Reply with quote
Post Posted: Thursday 11 May, 2006 11:55

Which one[I mean which type of time/date format] and how should it look the new format?

View user's profile Send private message Visit poster's website
Reply with quote
Post Posted: Friday 19 May, 2006 11:02

In "General Setting" I set it to Fri, 19.05.2006, 10:55 which fits my needs for a German Community, but the day is of course still in english. What I need is to show the day in german language
Mon -> Mo.
Tue -> Di.
Wed -> Mi.
...
Think there must be a
Code:
setlocale(LC_TIME, "de_DE");

and
Code:
strftime %a

somewhere in the code, but I am not able to change it without any help.

chiroptera

View user's profile Send private message
Reply with quote
Post Posted: Friday 19 May, 2006 12:39

If you want to have Fr, 19.05.2006, 10:55
then open functions.php file, search for the showing_time function and replace the following code:
Code:
case "2":
$t=date(_MH_F2,$time););
break;

with
Code:
case "2":
setlocale(LC_TIME, "de_DE");
$t = strftime("%a, %d.%m.%Y, %H:%M", $time);
break;


If you server works on Windows then use setlocale(LC_TIME, "deu_deu");

View user's profile Send private message Visit poster's website
Reply with quote
Post Posted: Friday 19 May, 2006 13:23

Works! Very Happy Great support - thank you very much!
Think this will help other people with other language too.

chiroptera

View user's profile Send private message
Reply with quote
Post Posted: Sunday 18 June, 2006 14:06

Instead of code changes, would'nt it be a good idea to have something like this in each lang file:
Code:
// example for lang-german
define ("_DATESTRING","%d.%m.%Y");
define ("_TIMESTRING","%G:%i");

define("_DATE","Datum");
define("_HOUR","Stunde");
define("_UMONTH","Monat");
define("_YEAR","Jahr");
define("_JANUARY","Januar");
define("_FEBRUARY","Februar");
define("_MARCH","M&auml;rz");
define("_APRIL","April");
define("_MAY","Mai");
define("_JUNE","Juni");
define("_JULY","July");
define("_AUGUST","August");
define("_SEPTEMBER","September");
define("_OCTOBER","Oktober");
define("_NOVEMBER","November");
define("_DECEMBER","Dezember");


View user's profile Send private message
Reply with quote
Post Posted: Sunday 18 June, 2006 14:28

If you'll use the above hack you'll have the weekdays or months already translated.

View user's profile Send private message Visit poster's website
Display posts from previous:
This topic is locked: you cannot edit posts or make replies. Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Page Generation: 0.55 Seconds