diff --git a/tei2imxml.py b/tei2imxml.py index d1e2b60..ac14aed 100755 --- a/tei2imxml.py +++ b/tei2imxml.py @@ -390,7 +390,10 @@ def format_authors(list_author_id, publang, xml_tree, translation_file): author_string = "{} {} {}".format(formatted_list[0], libeoaconvert.translate("and", publang, translation_file), formatted_list[1]) elif len(formatted_list) > 2: author_string = ", ".join(formatted_list[0:-1]) - author_string += " {} {}".format(libeoaconvert.translate("and", publang, translation_file), formatted_list[-1]) + if publang == "en": + author_string += ", {} {}".format(libeoaconvert.translate("and", publang, translation_file), formatted_list[-1]) + else: + author_string += " {} {}".format(libeoaconvert.translate("and", publang, translation_file), formatted_list[-1]) return author_string # def format_authors ends here