Report message:*
 

Re: Some question and suggestion about language files

Subject: Re: Some question and suggestion about language files
by Vaughan on 2008/8/17 23:54:21

what if we add an extra line to the lang files.

say

define('_ENG_LANGUAGE_VERSION','1.1.01');

then we can keep checks, and possible to even do checks from core to see if most current language file is present.

the 1.1 would be the release version so in above, it would mean this language file belongs with release 1.1. the .01 is the language revision.

each time somebody edits or changes the language file, they add 1 to the version number. so next edit becomes 1.1.02.