Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paywalls: adjusted German translations #3476

Merged
merged 3 commits into from
Dec 6, 2023
Merged

Conversation

tensei
Copy link
Contributor

@tensei tensei commented Nov 28, 2023

Special abbreviation style for German and some corrections to the German translation

Motivation

Just fixing/adjusting some stuff for all germans

Description

The updated translations are more precise. For instance, "Datenschutz" is a more commonly used term for "Privacy" in German. Similarly, changing "Lebensdauer" to "Lebenslang" for "Lifetime" is more accurate, as "Lebenslang" specifically implies 'for life'. The other changes follow a similar pattern of refining the language for better comprehension and context-appropriate usage in German.

Special abbreviation style for German
@tensei tensei marked this pull request as ready for review November 28, 2023 14:42
Copy link

@jefago jefago left a comment

Choose a reason for hiding this comment

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

Sounds good. Changing "Geschäftsbedingungen" to "Nutzungsbedingungen" isn't super unambiguous, but I found more examples of apps using "Nutzungsbedingungen" so it's probably a good solution.

@@ -164,6 +164,8 @@ private extension Localization {
switch locale.languageCodeIdentifier {
// Abbreviated does not fully work with Japanese
case "ja": return [.brief]
// Abbreviated is too short for German
case "de": return [.full, .brief]
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you provide more context for this change? Thanks!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

In the German localization, .abbreviated only returns the first letter (see screenshot). I feel that even .brief might not be the best choice and should perhaps just be .full for German.

CleanShot 2023-11-28 at 17 27 39@2x

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This change is for the variable {{ price_per_period }} and {{ total_price_and_per_month }} in Paywalls

Weekly Before 9,99 €/Wo. Now no change
Monthly Before 9,99 €/M Now 9,99 €/Mon.
Yearly Before 9,99 €/J Now no change

@NachoSoto
Copy link
Contributor

This is great! Let's add tests like we have for Japanese :)

@tensei
Copy link
Contributor Author

tensei commented Nov 29, 2023

Tests added 👍

@NachoSoto NachoSoto merged commit 5e9c4f7 into RevenueCat:main Dec 6, 2023
18 of 19 checks passed
@NachoSoto
Copy link
Contributor

Thanks again! 🙏🏻

@tensei tensei deleted the patch-1 branch December 6, 2023 19:06
NachoSoto added a commit that referenced this pull request Dec 7, 2023
This was caused by a conflicting merge between #3495 and #3476.
@NachoSoto NachoSoto mentioned this pull request Dec 7, 2023
NachoSoto added a commit that referenced this pull request Dec 8, 2023
This was caused by a conflicting merge between #3495 and #3476.
NachoSoto pushed a commit that referenced this pull request Dec 12, 2023
**This is an automatic release.**

### RevenueCatUI
* `Paywalls`: improve image caching (#3498) via NachoSoto (@NachoSoto)
* `Paywalls`: change style of CTA button to be consistent with other
platforms (#3507) via NachoSoto (@NachoSoto)
* `Paywalls`: open footer links on Safari on Catalyst (#3508) via
NachoSoto (@NachoSoto)
* `Paywalls`: fix compilation on Xcode < 14.3 (#3513) via NachoSoto
(@NachoSoto)
* Fix typo in zh-Hans localization of RevenueCatUI (#3512) via Francis
Feng (@francisfeng)
* `Paywalls`: fix PaywallViewControllerDelegate access from Objective-C
(#3510) via noncenz (@noncenz)
* `Paywalls`: open Terms and Privacy Policy links in-app (#3475) via
Andy Boedo (@aboedo)
* `Paywalls`: fix empty description when using `custom` package type and
`{{ sub_period }}` (#3495) via Andy Boedo (@aboedo)
* `Paywalls`: use `HEIC` images (#3496) via NachoSoto (@NachoSoto)
* Paywalls: disable the close button when an action is in progress
(#3474) via Andy Boedo (@aboedo)
* `Paywalls`: adjusted German translations (#3476) via Tensei (@tensei)
* Paywalls: Improve Chinese localization (#3489) via Andy Boedo
(@aboedo)
### Other Changes
* `CircleCI`: add git credentials to snapshot generation (#3506) via
NachoSoto (@NachoSoto)
* `StoreProduct`: improve `priceFormatter` documentation (#3500) via
NachoSoto (@NachoSoto)
* `Paywalls`: fix tests (#3499) via NachoSoto (@NachoSoto)
* `Optimization`: changed `first` to `first(where:)` (#3467) via
NachoSoto (@NachoSoto)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants