Register  Login
Site Search:
HOME HAEMOPHILIA ASP WEB DIRECTORY FORUM 06/02/12
ASP 3D Art Haemophilia Web Directory
Join Mailing List
Your E-mail Address


Haemophilia Chat
   
Breathofair Tv Guide Documentation
 
   

Writing Your Own Language File  


If a language file is not available to translate the forum into your own language you can easily translate the Tv Guide your self into your own language. To do this simply follow the instructions below: -

  1. Go to the language folder and select a languages you can understand
  2. Make a back-up of the language file you are translating from .
  3. Open the language file in a text editor like Notepad.
  4. In this file you will see lots of lines that look like the line below.

    strTxtWelcome = "Welcome"

  5. Translate the parts shown above in red between the quotation marks to your own language.
  6. Once you have finished altering the Language File save as a new language file and now you have created the language file..
  7. open the langs.inc files found in the Tv Guide root folder and the admin folder inside that.
  8. Add the lines below to the list of existing ones and edit them so they reflect the new language file, give the new file and ID and edit the link to the language file. Don't add the purple text in the langs.inc in the root folder, do the same in the admin folder except add the purple

    <% if strLanguage = "1" Then %>
    <!--#include file="../languages/name of the new language file.inc" -->
    <% END IF %>

  9. Now you've added the new language file to the langauge selection , you need to add the language pack to the selectors so users can select the new language.
  10. Now ope the selectLang.inc file and you will see there are lines with option, what you need to do is copy the code below and edit the verious part and save the file, then your new language is ready for use.

    <option value=" the value you set above in red " <% if UserLanguage = "The Value you set above in red" Then response.write "Selected" END IF%> >Name that you want people to see I.e English
    </option>

  11. PLEASE NOTE : That the part in red need to be the same value i.e 1,2,3 or 4 etc. you can use words
  12. now you have made the language pack and added it to your Tv Guide all you have to do is upload the language file to the languages folder and the langs.inc to the Tv Guide Root and admin folder.

    visit Http://www.breathofair.co.uk/asp/ for the latest downloads of breathofair Tv Guide with the latest language packs installed as default.

    If you are thinking of creating a language pack don't forget to check out Breathofair as it may be installed on the latest release, failing that and you have to create a language pack don't for get to send a copy to me and ill add it the latest release, if you add your name and web address ill add it to the read_me.txt files saying thanx to you for the translation into the language.

    For More details Contact LanguagePacks4TvGuide@breathofair.co.uk
 


| Contact Site | Privacy Statement | Jobs @ This Site | Advertise | Site Rules and Policies |
1,510,377 Visitors Since 4/10/02
© 2000-2005 Aaron Hockaday
8 Active Users