Welcome Guest, Not a member yet? Register   Sign In
Mod to have language keys automatically recognized by the template parser
#3

[eluser]Phil Sturgeon[/eluser]
Tis a good plan but not a very friendly tag type ey?

I'd preffer to have something like:

Code:
{lang:key_name}

or something similar.

Also the way in which you do this aint the best way to achieve it. You may want to do some clever preg matching and calling of specific language lines based on matches in the file, NOT just shoving EVERY loaded language file into every view. This will have a bit of a hit on performance, and even if its only minimal its not good practise.


Messages In This Thread
Mod to have language keys automatically recognized by the template parser - by El Forum - 07-16-2007, 06:40 PM



Theme © iAndrew 2016 - Forum software by © MyBB