Bugfixing and evaluation cycle started
Trustmaster |
|
---|---|
Well, if you used a different array name (e.g. $Ldate) with keys as search values and values as replacement, you could do it just with 1 line with strtr. Another thing: if $lang == 'en' then you needn't apply the replacement. And finally the biggest problem about this function is grammar. It is not any obvious for languages like English, but I'll give you a few examples of Russian translations:
May the Source be with you!
|