PHP Classes

File: lang/en-EN.ini

Recommend this page to a friend!
  Classes of MC Breit   LanguageSys   lang/en-EN.ini   Download  
File: lang/en-EN.ini
Role: Example script
Content type: text/plain
Description: Example Language file for example.php
Class: LanguageSys
Use multi-idiom texts with pre-compilation support
Author: By
Last change:
Date: 18 years ago
Size: 2,776 bytes
 

Contents

Class file image Download
;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; EXAMPLE LANGUAGE FILE ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;

;-------------------------- Information Section -------------------------------;
;This says that the "info"-section begins. The info-section provides infos
;about the languag file. In the following you will see ALL the labels are
;possible (just without the special label "use") and the explanation.
;all labels are optional.
[info]

;The Author/Translator of this language file:
author="MC Breit"

;Informations about this translation, this is for their, where the programmers
;have let a space for credits on the translators.
translation_info="Translated by MC Breit, based on de_DE by Max Mustermann"

;This holds the version of the translation, sometimes this can be important
;to check up the compatibility to any application..
version="1.0.0"

;This holds the name of the application this file was made for.
;this is usefull, if you have more than one language files for various apps
;and you dont know who is whos ;-)
application="LanguageSys Example Script"

;-------------------------------- Language Data -------------------------------;
;Here is the start of the Language data section, often called just
;"lang-section".
;By the way: You dont need those ";----- Language Data ---.." and so on, these
;all are just comments after the ";" sign. The only signals are needed to begin
;a section is the "[tag]", eg "[info]" or "[lang]":
[lang]

;So, now here some example entries.
;Every time these are written between two quotemarks (").
;If you want to have a empty string, you dont need to write foo="", foo= is
;enough. Escape character is the backslash (\). Linebreaks can be done with
;the _written_(not a real line-break) "\n" character, for a backslash write "\\"
;Thats it! Have fun ;-)

;Say Hello and so on..
welcome="Welcome to the example Script of the LanguageSys."
select a language="Select the language of your choice:"
translate="Translate it!"
;Note: %s will be replaced by the directory:
some exampels at="You can find some exampels at the dir %s of this package."

;Some dummy text..
foo="This is a simple dummy text, its their to show the abitility of showing this text. It contains a line break after now\nAnd additional to this there is nothing."
bar="JASDT stands for JetAnotherSimpleDummyText, you know?"
faz="This additional dummy text is to show the special chars.\nA quotemark: \"\nA backslash: \\\nand the linebreak was already seen by you.."
baz="Baz says goodbye and have fun ;-)" ;A comment after a text declaration..

;NOTE:
; In hope it can make the understanding easier: The syntax is like those
; of normal INI files, the only other is that ALL strings must be included between
; quotemarks.