Skip to content

Conversation

@mohsenD98
Copy link
Collaborator

@mohsenD98 mohsenD98 commented Dec 6, 2025

🚀 Description

This PR introduces seamless runtime language switching for QField, eliminating the need for an app restart when changing the UI language.

✨ Key changes

  • Hot-swap language support: Users can now switch between languages on-the-fly, with the UI updating instantly without interrupting their workflow.

Demo

Screencast.From.2025-12-07.16-23-15.mp4

@qfield-fairy
Copy link
Collaborator

qfield-fairy commented Dec 6, 2025

@mohsenD98 mohsenD98 force-pushed the runtime-language-switching branch from 8ea13e9 to 8115eac Compare December 6, 2025 21:13
Copy link
Member

@nirvn nirvn left a comment

Choose a reason for hiding this comment

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

@mohsenD98 , nice! Qt 5 was definitively not able to re-translate on the fly.

@mohsenD98 mohsenD98 changed the title WIP Adds runtime language switching without restart Adds runtime language switching without restart Dec 7, 2025
@mohsenD98 mohsenD98 self-assigned this Dec 7, 2025
@mohsenD98 mohsenD98 changed the title Adds runtime language switching without restart Change the language on-the-fly (no restart) Dec 7, 2025
@mohsenD98 mohsenD98 force-pushed the runtime-language-switching branch from 4def84f to 44f5d76 Compare December 8, 2025 14:52
Copy link
Member

@nirvn nirvn left a comment

Choose a reason for hiding this comment

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

I've applied a couple of fixes while testing, and I've left a few tiny changes to apply :)

It's super nice BTW, I'm sure it'll add extra motivation for people to translate their favorite field app.

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.

4 participants