nextcloud / nextcloud/ios

l10n: Unable to reorder variables for translation

Open
#2,238 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
2.5k
Forks
1k
Avg merge
2d 18h
Merged PRs (30d)
13

Description

https://github.com/nextcloud/ios/blob/141fbcf2a296311ea75a3197bab5a96b2bc72d10/iOSClient/Supporting%20Files/en.lproj/Localizable.strings#L114

Translator for hungary and hongkong chinese wrote:

I can't translate this correctly, as I would need to reorder the variables, but I can't do it, because Transifex complains "The expression '%@' is not present in the translation." if I use %1$@ and %2$@.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with iOSClient/Supporting Files/en.lproj/Localizable.strings at line 114 and reproduce the reported Transifex validation error when using positional placeholders. Determine how the entry needs to represent its variables so Hungarian and Hong Kong Chinese translators can reorder them without the expression error; done means those translations are accepted.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
localization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.