Skip to content

Pull iOS stringdicts with default source#956

Merged
mpivchev merged 1 commit into
masterfrom
ios-stringdict-fix
Jun 18, 2026
Merged

Pull iOS stringdicts with default source#956
mpivchev merged 1 commit into
masterfrom
ios-stringdict-fix

Conversation

@mpivchev

@mpivchev mpivchev commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Pulled .stringdicts (containing singular/plural variations of sentences) from Transifex do not include a default string if not translated, resulting in no text being displayed at all on iOS. This resolves this by pulling the source (English) if a string is not translated.

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI

Signed-off-by: Milen Pivchev <milen.pivchev@gmail.com>
@rakekniven

Copy link
Copy Markdown
Member

Good idea. Documenation of used option is very poor.

@nickvergessen

Copy link
Copy Markdown
Member

Also need to push before?

@mpivchev

mpivchev commented Jun 18, 2026

Copy link
Copy Markdown
Contributor Author

Also need to push before?

No, sources are pushed only once, at start. Then we pull all, but then pull again which replaces the "bad" stringdicts with the new ones which include source if untranslated. This resolves strings not being displayed at all:

image

No need to push, as this is only needed for clients. Pushing this to Transifex might screw up translations.

@mpivchev

Copy link
Copy Markdown
Contributor Author

@Ivansss @SystemKeeper if this works fine we can do the same with Talk iOS

@mpivchev mpivchev requested a review from rakekniven June 18, 2026 08:43
@rakekniven rakekniven removed their request for review June 18, 2026 08:49
@rakekniven

Copy link
Copy Markdown
Member

I cannot review as I am not using the tool myself.

@mpivchev mpivchev merged commit 3810246 into master Jun 18, 2026
3 checks passed
@mpivchev mpivchev deleted the ios-stringdict-fix branch June 18, 2026 10:41
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