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;
		

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /var/www/vhosts/myphpnuke.com/httpdocs/phpWebNotes/themes/phpnet/theme_api.php on line 221
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: Fri, 02 Jul 2010 - 8:15:20