def METHOD_NAME(self, lang):
    # Get $LANG values
    a = os.popen("grep '$LANG' %s/locales/%s.php" % (self.options.glpi_path, lang)).read().split('\n')
    if len(a) == 1:
        # Error while parsing file
        errormsg = "I can't find %s/locales/%s.php\nCheck your Glpi path" % (self.options.glpi_path, lang)
        raise Exception(errormsg)
    a = [i.split('=') for i in a]
    # put in a list result and remove PHP's ; end line
    b = []
    for i in a:
        tmp = [j.replace(';', '').replace('"', '').strip() for j in i if j != '']
        if tmp:
            b.append(tmp)
    lang = {}
    for i in b:
        lang[i[0]] = i[1:]
    return lang