My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
PHPArray  
PHP Array example
Formats, PHP
Updated Feb 17, 2011 by petteri%...@gtempaccount.com

Introduction

Get Localization has limited PHP array support. This example covers the supported syntax.

Example

<?php

$locales = Array(
	// this is the context
	"LOGICAL_STRING" => "The master string",
	
	// the text displayed in the front page
	"Welcome_text" => "Welcome to our website",
	"Signin" => "Log in"
);

$menu = Array(
	"item_1" => "Home",
	"item_2" => "Exit"
);

?>
Powered by Google Project Hosting