Skip to content

Fix issue #7552: Using app locale in sticker creator#7789

Open
sprt-schk wants to merge 1 commit intosignalapp:mainfrom
sprt-schk:7552-sticker-pack-creator-ignores-language-preference
Open

Fix issue #7552: Using app locale in sticker creator#7789
sprt-schk wants to merge 1 commit intosignalapp:mainfrom
sprt-schk:7552-sticker-pack-creator-ignores-language-preference

Conversation

@sprt-schk
Copy link
Copy Markdown

@sprt-schk sprt-schk commented Mar 20, 2026

First time contributor checklist:

Contributor checklist:

  • My contribution is not related to translations.
  • My commits are in nice logical chunks with good commit messages
  • My changes are rebased on the latest main branch
  • A pnpm run ready run passes successfully (more about tests here)
  • My changes are ready to be shipped to users

Description

Fixes issue #7552 by using the app's resolved locale in the sticker creator.

A IPC plus preload bridge has been added, so the sticker creator can read getResolvedMessagesLocale().name from the main process. loadLocale() now uses that value obtained from the main process, before falling back to navigator.language, which keeps sticker creator localization in sync with the rest of the app.

The change has been manually verified, by configuring the Signal Desktop app with different languages and afterwards starting the sticker creator. Language did match in each test run. Verified on (Arch) Linux 64-bit.

@ayumi-signal ayumi-signal self-assigned this Mar 23, 2026
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.

2 participants