Ask not what osTicket community can do for you - ask what you can do for osTicket community

Go Back   osTicket Forums > osTicket 1.6.x > Mods and Customizations

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-14-2010, 10:43 AM
wiseprt wiseprt is offline
Junior Member
 
Join Date: Jan 2010
Posts: 2
Default Trying translation to greek on version 1.6 RC5

Hello there, i am a greek web designer and i would like to know if there is a possibility to translate my OsTicket system to greek language! I run the latest stable version of osTicket 1.6 RC5!

Are there some files i can change? Or i have to add extra (.php) files inside installation folder?

Please let me know!
Thank you
Reply With Quote
  #2  
Old 01-14-2010, 05:57 PM
PRedmond PRedmond is offline
Member
 
Join Date: Nov 2009
Location: NSW, Australia
Posts: 134
Default

You can do this, but it will be helpful if you have a little experience with PHP code - not that you will modify much code, it will just be a little less scary!!

You need to create a language file, perhaps called language.php - I would put it in the include directory.

Open main.inc.php, and find
PHP Code:
    #include required files 
Add
PHP Code:
    require(INCLUDE_DIR.'language.php'); 
Now what you need to do is find where you want to translate words / phrases. Each time you find a new word or phrase, you can add the translation to language.php in this format:
PHP Code:
define('ADD_NEW_TOPIC''Add New Topic'); 
Then replace the original word or phrase with ADD_NEW_TOPIC and the translation should appear.

Really, the trickiest part of this will probably be chasing down all the different files which contain the words you want to translate. There are text editors out there which will make it much easier - I use 'Crimson Editor' (because I like it, and it is free). It allows you to search a folder and find all occurances of a particular phrase. So I could search for 'Add New Topic' and it would show me all the files it occurs in.

Let me know ifyou need more help with this!
Reply With Quote
  #3  
Old 01-15-2010, 04:39 PM
wiseprt wiseprt is offline
Junior Member
 
Join Date: Jan 2010
Posts: 2
Default

@PRedmond thank you very much for your reply! I'll try your instructions and i'll inform you asap!

Cheers
Reply With Quote


Reply

Bookmarks

Tags
translate, translate osticket, translation greek

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:38 AM.