Skip to content

StoryQuest Bootstrap: Make it translatable and add Spanish translation - #2859

Merged
manuq merged 1 commit into
mainfrom
translate-sq-bootstrap
Sep 8, 2026
Merged

StoryQuest Bootstrap: Make it translatable and add Spanish translation#2859
manuq merged 1 commit into
mainfrom
translate-sq-bootstrap

Conversation

@manuq

@manuq manuq commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator

Create a new domain for the addon. Load the game catalog in it, and set the editor locale to it.

Add the plugin script and dialog scene to the list of files to extract. In the script, mark the menu label and the error messages as translatable.

Regenerate the POT file, and update the Spanish translation.

Resolve #2851

Create a new domain for the addon. Load the game catalog in it, and set the
editor locale to it.

Add the plugin script and dialog scene to the list of files to extract. In the
script, mark the menu label and the error messages as translatable.

Regenerate the POT file, and update the Spanish translation.

Resolve #2851
@manuq
manuq marked this pull request as ready for review September 8, 2026 15:08
@manuq
manuq requested a review from a team as a code owner September 8, 2026 15:08
@manuq

manuq commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator Author

@LauraFoglia @lasr21 @Stregoica777 if any of you can, please review this Spanish translation!

Steps:

  1. Use Git to stand on the main branch.
  2. Open the Godot Editor.
  3. If your editor is not in Spanish, go to Editor > Editor Settings. And from Language select Spanish (it will ask to restart)
  4. Go to Proyecto > Herramientas > Crear StoryQuest desde plantilla...

And let me know what do you think about the dialog translation.

var errors: PackedStringArray
if title.length() < MIN_TITLE_LENGTH:
errors.append("⚠ The title must be at least %d letters long." % MIN_TITLE_LENGTH)
errors.append(tr("⚠ The title must be at least %d letters long.") % MIN_TITLE_LENGTH)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One for a future PR: we could replace the warning triangle emoji with getting an icon from the theme with get_theme_icon("StatusWarning", "EditorIcons") - but this would mean changing this from being displayed in a single RichTextLabel to being a grid/similar.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes! Let's do that as followup.

Comment thread locale/es.po
Comment on lines +455 to +457
#: addons/storyquest_bootstrap/new_storyquest_dialog.tscn
msgid "project_green"
msgstr "proyecto_verde"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to fix this here but perhaps it would be better to set the placeholder text for this in code, derived from the working title placeholder text in the same way as the real folder name is.

@manuq manuq Sep 8, 2026

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, and then it wouldn't be necessary to translate it!

@manuq
manuq merged commit ed516e0 into main Sep 8, 2026
6 checks passed
@manuq
manuq deleted the translate-sq-bootstrap branch September 8, 2026 16:57
@manuq

manuq commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator Author

OK, I can receive feedback from the main branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

StoryQuest bootstrap dialog: Make it translatable and add Spanish translation

2 participants