Structure of the language file

When you open your language file in the text editor, you will see this structure:

	case "xxxx": $tmp = "yyyy"; break;
		

In this line the first part, "xxxx" contains the exact matching word or phrase that is used in the MPN source code. The second part, "yyyy" is the translated version of the "xxxx" phrase. The following is a comparison between the default template and the Dutch language file.

	From the template.php file:
	
	case "Faq": $tmp = "Faq"; break;
	case "ID": $tmp = "ID"; break;
	case "Categories": $tmp = "Categories"; break;
		
	From the lang-dutch.php file:
	
	case "FAQ": $tmp = "FAQ (veel gestelde vragen)"; break;
	case "ID": $tmp = "ID"; break;
	case "Categories": $tmp = "Categorieën"; break;
		
User Contributed Notes
stucture_of_language_file.php
Add Note Add Note About Notes
There are no user contributed notes for this page.
Last updated: Tue, 25 Dec 2007 - 12:15:07