GDevelop-extensions icon indicating copy to clipboard operation
GDevelop-extensions copied to clipboard

New extension: Internationalization

Open github-actions[bot] opened this issue 2 years ago โ€ข 1 comments

Description

This extension eases localizing games into up to 5 languages by adding translations to the text as behavior strings.

How to use the extension

Behaviors:

Localizable text: to localize texts into up to 5 languages in addition with the scene (default) language. Localizable button: to localize button labels into up to 5 languages in addition with the scene (default) language. Localizable BBText: to localize BBtext codes into up to 5 languages in addition with the scene (default) language.

Behavior actions:

Localize to a language: to localize an object (group) to the selected language. Options: default, 1st, 2nd, 3rd, 4th and 5th.

Behavior expressions:

Text.LocalizableText::Translation(): to get the text language string of the Text. Button.LocalizableButton::Transaltion(): to get the button language label of the Button. BBText.LocalizableBBText::Transaltion(): to get the BBText language code of the BBText.

Checklist

  • [X] I've followed all of the best practices.
  • [X] I confirm that this extension can be integrated to this GitHub repository, distributed and MIT licensed.
  • [X] I am aware that the extension may be updated by anyone, and do not need my explicit consent to do so.

What tier of review do you aim for your extension?

Community (Unreviewed)

Example file

Example.zip

Extension file

Internationalization.zip

github-actions[bot] avatar Oct 19 '23 13:10 github-actions[bot]

Thank you for submitting an extension.

Usually translations are stored in resource files because people doing the translation won't use GDevelop directly but a web app dedicated to it.

D8H avatar Nov 24 '23 23:11 D8H