Icy Phoenix

     
 


Post new topic  This topic is locked: you cannot edit posts or make replies. 
Page 1 of 1
 
 
Reply with quote Download Post 
Post Create a New Language for Icy Phoenix 
 
Creating A New Language Pack For Icy Phoenix

In this topic it will try to explain how to create a new language pack for Icy Phoenix

We recommend following these steps:



i. Editing Language Keys
The language/ directory of your phpBB install hosts a lang_english/ directory. All you need to do is to duplicate that folder by copying all the files in that folder (including the emails/ directory located in it), rename the copy lang_xxxx (whatever your language is, e.g. lang_spanish), and then translate all files.

  • Example to make Spanish package:

Make a folder: Language_Icy_Phoenix
In this folder, create these folders:
/docs/ and /language/lang_your_language
  • Copy Icy Phoenix/docs/readme_english.html to Language_Icy_Phoenix/docs/readme_spanish.html

  • Copy Icy Phoenix/language/lang_english/*.* to Language_Icy_Phoenix/language/lang_spanish/

Example, in your newly created language/lang_xxxx/lang_main.php file you might find:
Code: [Download] [Hide]
  1. $lang['Thankyou'] = 'Thank you'; 

Edit with your text editor to read:
Code: [Download] [Hide]
  1. $lang['Thankyou'] = 'Gracias'; 

It's very important not to change the '$lang['Thankyou']' value! But go ahead and translate everything else into your own language..

ii. Language Standards
All language strings must be included between single quotes/apostrophes ('), do not use double quotes/apostrophes (")!

Example:
Code: [Download] [Hide]
  1. /* wrong */  
  2. $lang['who_is'] = "Who is there?"; 

Code: [Download] [Hide]
  1. /* right */  
  2. $lang['who_is'] = 'Who is there?'; 

All words containing single quotes/apostrophes must be backslashed () to avoid parsing errors

Example:
Code: [Download] [Hide]
  1. /* wrong */  
  2. $lang['who_is'] = 'Who's there?'; 

Code: [Download] [Hide]
  1. /* right */  
  2. $lang['who_is'] = 'Who\'s there?'; 


iii. Adding your copyright
To add a short copyright message to the footer indicating who translated all files, open the lang_main.php file and add your name. If you are using link urls, please adhere to the default footer copyright text class.

Find:
Code: [Download] [Hide]
  1. // This is optional, if you would like a _SHORT_ message output  
  2. // along with our copyright message indicating you are the translator  
  3. // please add it here.  
  4. // $lang['TRANSLATION'] = ''; 

Replace With:
Code: [Download] [Hide]
  1. // This is optional, if you would like a _SHORT_ message output  
  2. // along with our copyright message indicating you are the translator  
  3. // please add it here.  
  4. $lang['TRANSLATION'] = 'Translation by <a href="http://yourdomain.com" target="_blank" class="copyright">Name</a>'; 


iv. Viewing Finished Translation
To install your new language upload all folder to the root directory of your board, either change the overall board language setting, or the language as a user in your profile.
 




____________
ThE KuKa - www.phpBB-Es.COM - Custom Installations phpBB
 
Edited by ThE KuKa, Fri 22 Feb, 2008 22:18: Edit to change a simple line.
Edited by TheSteffen, Sun 19 Apr, 2009 19:48: Changed Who's there? to Who\'s there?
ThE KuKaSend private messageVisit poster's website  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Create a New Language for XS 2 
 
Great document!

I've edited a couple of typos and grammar errors... I hope you don't mind!
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Create a New Language for Icy Phoenix 
 
Icy Phoenix Buttons in others languages:
http://www.icyphoenix.com/viewtopic.php?t=789
 




____________
ThE KuKa - www.phpBB-Es.COM - Custom Installations phpBB
 
ThE KuKaSend private messageVisit poster's website  
Back to topPage bottom
Post new topic  This topic is locked: you cannot edit posts or make replies.  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events


  

 

  cron