You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some translators mentioned in the community Slack that they didn't understand what was being asked for. Because of that, I opened wordpress-mobile/WordPress-iOS#10511. Per @rachelmcr – doing translations this way doesn't work, because the escaping \ doesn't make it into the translation, so it's actually impossible to translate strings that use this format.
Enforcing the rule
I've opened a PR suggesting a Danger rule for this that uses Swiftlint: wordpress-mobile/WordPress-iOS#10526. This issue is an accompaniment to that rule.
The text was updated successfully, but these errors were encountered:
Don't use interpolated strings inside of a call to
NSLocalizedString
. UseString(format:
instead.Examples
Rationale
Some translators mentioned in the community Slack that they didn't understand what was being asked for. Because of that, I opened wordpress-mobile/WordPress-iOS#10511. Per @rachelmcr – doing translations this way doesn't work, because the escaping
\
doesn't make it into the translation, so it's actually impossible to translate strings that use this format.Enforcing the rule
I've opened a PR suggesting a Danger rule for this that uses Swiftlint: wordpress-mobile/WordPress-iOS#10526. This issue is an accompaniment to that rule.
The text was updated successfully, but these errors were encountered: