Language vars August 11, 2014, 10:41:34 pm I just started translating ElkArte to Serbian language and i noticed duplicated language variableWho.english.php -> Viewing the login page.Not sure but i think there are more as im pretty sure i translated few things twice (Its late atm and i will check that tomorrow)Would be nice to write small script and check all language files for duplicated var's.Its not problem at all, it wont even trigger warning or anything but you understand me... EDIT:Also i noticed that Settings.english.php has only two var's and one of them is actually image...{images_url}/thumbnail.pngandThe default ElkArte theme.Author: ElkArte contributorsSo maybe move that image in template and move string somewhere else so we can get rid of that file? (Maybe im missing something but as far as i know that file is useless...)
Re: Language vars Reply #1 – August 12, 2014, 05:00:36 am Quote from: Ice – August 11, 2014, 10:41:34 pmI just started translating ElkArte to Serbian language and i noticed duplicated language variableWho.english.php -> Viewing the login page.Not sure but i think there are more as im pretty sure i translated few things twice (Its late atm and i will check that tomorrow)Would be nice to write small script and check all language files for duplicated var's.Its not problem at all, it wont even trigger warning or anything but you understand me... Yep, there are few in Who, unfortunately for the structure of the file and the way it works it's quite difficult to eliminate them... It may be possible to by assigning the values after having loaded the strings.Quote from: Ice – August 11, 2014, 10:41:34 pmSo maybe move that image in template and move string somewhere else so we can get rid of that file? (Maybe im missing something but as far as i know that file is useless...)It's not entirely useless, it has reason if a theme has its own settings, yes it could be an "hidden feature", but from my experience it's better not to have hidden features, and instead have "clear" examples of how things works.