Previous Thread
Next Thread
Print Thread
Rate Thread
#234697 01/30/2003 7:52 PM
Joined: Aug 2002
Posts: 1,191
Kahuna
Kahuna
Joined: Aug 2002
Posts: 1,191
I finally did it.

After loads of hours in front of the screen and many times mixing German, English and Hellenic, only to find out that I know what a word means but I can only recall the English one, I managed to translate the whole board's language files to Hellenic.

For those that are running to get a dictionary, Hellenic means Greek. Hellas is possibly the only country that has two official names: Hellas and Greece.

I have only one request: I would appreciate it if you use the word Hellenic and not Greek. It means the same thing but Hellenic comes directly from Ancient Hellas. (thanks in advance for that).

Attached is the zip file.

Instructions:
1. Unzip the file in your languages folder in a subfolder called hellenic

2. Open your ./languages/.../editdisplay.php
Find
Code
 <br />$ubbt_lang['L_GERMAN']		=	"German"; <br />

BELOW it ADD
Code
 <br />// 20030129 - Hellenic Language - New Start <br />$ubbt_lang['L_HELLENIC']	=	"Hellenic"; <br />// 20030129 - Hellenic Language - New End <br />


3. Open ./templates/default/editdisplay.tmpl
Find
Code
 <br /><option value = "german" $german>{$ubbt_lang['L_GERMAN']}</option> <br />

BELOW it ADD
Code
 <br />UBBTPRINT; <br />// 20030129 - Hellenic Language - New Start <br />echo <<<UBBTPRINT <br /><option value = "hellenic" $hellenic>{$ubbt_lang['L_HELLENIC']}</option> <br />UBBTPRINT; <br />// 20030129 - Hellenic Language - New End <br />echo <<<UBBTPRINT <br />


4. Open your editdisplay.php
4.1 Find
Code
 <br />   $nosigview = ""; $yessigview = ""; <br />

BELOW it ADD
Code
 <br />// 20030129 - Hellenic Language - New Start <br />   $hellenic = ""; <br />// 20030129 - Hellenic Language - New End <br />


4.2 Find
Code
 <br />   if ($chosenlanguage == "french")  { $french = "selected=\"selected\""; } <br />

BELOW it ADD
Code
 <br />// 20030129 - Hellenic Language - New Start <br />   if ($chosenlanguage == "hellenic") {$hellenic = "selected=\"selected\""; } <br />// 20030129 - Hellenic Language - New End <br />


5. Open your ./ubbt.inc.php
Find
Code
 <br />      elseif ($ubbt_language == "big5") { <br />        $contenttype = "<META HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; charset=big5\">"; <br />      } <br />

BELOW it ADD
Code
 <br />// 20030129 - Hellenic Language - New Start <br />      elseif ($ubbt_language == "hellenic") { <br />        $contenttype = "<META HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; charset=1253\">"; <br />      } <br />// 20030129 - Hellenic Language - New End <br />


That's it

Warm regards

Nikos
Attachments
66951-hellenic.zip (0 Bytes, 7 downloads)


Nikos
Sponsored Links
Joined: Aug 2002
Posts: 1,191
Kahuna
Kahuna
Joined: Aug 2002
Posts: 1,191
Forgot:

Demo at http://dev.niden.net

Warm regards

Nikos


Nikos
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
view attachment for message.
Attachments
66974-thankyou.txt (0 Bytes, 33 downloads)

Joined: Aug 2002
Posts: 1,191
Kahuna
Kahuna
Joined: Aug 2002
Posts: 1,191
Thanks Chuck.

FAQ will follow shortly.

Warm regards

Nikos


Nikos
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Go ahead and download my the english templated FAQ you will then create a XHTML FAQ that uses tbopen and tbclose.

Sponsored Links

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240430)