My game's translation is done by volunteer native speakers from different languages, this means that the translation team changes with time.
I credit the translators in the about page and also in the end credits of the game. And I used to have it be like this:
The thing is, every time the translation team changed, the translations of this entire "about section" gets invalidated.
I don't want to increase the work of our volunteer translators to be more than it needs to be. So, with the intent of being able to change people names and their url links without invalidating the translations of the about page, I decided to change my approach to this:
It works great, except that it is no longer translating the credits to the currently selected language.
Side note:
I also have tried using the double-underscore translation function, i.e "__("blablabla")", but the problem remains.
What am I doing wrong here? I would appreciate any kind of assistance
I credit the translators in the about page and also in the end credits of the game. And I used to have it be like this:
The thing is, every time the translation team changed, the translations of this entire "about section" gets invalidated.
I don't want to increase the work of our volunteer translators to be more than it needs to be. So, with the intent of being able to change people names and their url links without invalidating the translations of the about page, I decided to change my approach to this:
Python:
init python:
about_developed_by = _("Developed by")
about_main_writer = _("Main Writer and Author")
about_support_writer = _("Support Writer")
about_render = _("3D Renders")
about_renpy_script = _("Renpy Script")
about_ui_support = _("UI Support")
about_russian_translation = _("Russian Translation")
about_french_translation = _("French Translation")
about_german_translation = _("German Translation")
about_italian_translation = _("Italian Translation")
about_polish_translation = _("Polish Translation")
about_portuguese_translation = _("Portuguese Translation")
about_team = [
{"name": 'VelcroFist', "link": 'https://www.literotica.com/stories/memberpage.php?uid=5399309', "roles": about_main_writer},
{"name": 'Sakrilas', "link": 'https://f95zone.to/members/sakrilas.262944/', "roles": "%s, %s, %s\n" % (about_support_writer, about_render, about_renpy_script)},
{"name": 'Alexander Chebykin', "link": 'https://github.com/CAI79', "roles": "%s, %s" % (about_ui_support, about_russian_translation)},
{"name": 'Rustam Eyniyev', "link": 'https://github.com/Rustam-Eyniyev', "roles": about_russian_translation},
{"name": 'Laurent Rochette', "link": 'https://www.facebook.com/laurent.rochette.75', "roles": about_french_translation},
{"name": 'Babar', "link": 'https://f95zone.to/members/babar.73468/', "roles": about_french_translation},
{"name": 'Fenris', "link": 'https://placeholder.com/', "roles": about_german_translation},
{"name": 'Websl', "link": 'https://placeholder.com/', "roles": about_german_translation},
{"name": 'GIN', "link": 'https://f95zone.to/threads/gin-italian-translations.109604/post-7641553', "roles": about_italian_translation},
{"name": 'Piotr', "link": 'https://github.com/optimapz', "roles": about_polish_translation},
{"name": 'Zero', "link": 'https://f95zone.to/members/zerodead.386180', "roles": about_portuguese_translation},
{"name": 'Rui Ferreira', "link": 'https://placeholder.com/', "roles": about_portuguese_translation},
]
interpolated_about = "%s:\n" % about_developed_by
for person in about_team:
interpolated_about += "- {a=%s}%s{/a}: %s\n" % (person["link"],person["name"], person["roles"])
define gui.about = interpolated_about
Side note:
I also have tried using the double-underscore translation function, i.e "__("blablabla")", but the problem remains.
What am I doing wrong here? I would appreciate any kind of assistance
Last edited: