mjnaderi/Sharif-Judge — pull request #16 by fffaraz (2013-10-27 14:16:49+00:00)
Title: Providing Appropriate Infrastructure to Add more Languages

Now we can simply have language files in the following format and use them in views easily.

// in english
$lang['some_key'] = 'Some string with %1 %2.';

// in another language
$lang['some_key'] = 'Some string %2 with %1.';

// the actual usage
lang('some_key', 'first', 'second');