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

Per-application language does not follow system language starting with 5.10.3 #39

Open
3 of 12 tasks
ov1d1u opened this issue Aug 14, 2024 · 0 comments
Open
3 of 12 tasks
Assignees

Comments

@ov1d1u
Copy link

ov1d1u commented Aug 14, 2024

Short description of the issue.

Starting with version 5.10.3, the application language remains set to the language at the time of first run. Changing the system language after that is not reflected in the app. Example

System language is English, app language is English:

imgonline-com-ua-twotoone-Eccu17WQbcvn

After changing the system language to German, the app's language remains set to English:

imgonline-com-ua-twotoone-GFdOSwQl1aT4Wp53

What did you expect to happen?

The app should follow the system language, as long as another language was not forced

What happened instead?

The app's language remains set to the language at the time of first run.

How to reproduces this problem?

  1. Set the system language to english
  2. Install and run an app using L10n-swift
  3. Change the system language to another language supported by the app
  4. Run the app again - it should be in english language

Environment.

DebugDescription

L10n {
	Language: en
	Preferred language: en
	Supported languages: ["ar", "de", "ar", "en"]
	Bundles: [
		"/var/containers/Bundle/Application/CA00C9B4-17AC-42B6-91DC-C4F8C295EFBC/FrindloApp.app/en.lproj",
		"/var/containers/Bundle/Application/CA00C9B4-17AC-42B6-91DC-C4F8C295EFBC/FrindloApp.app/Base.lproj"
	]
}

L10n-swift version: 5.10.3

Xcode version: 15.4

Swift version: arm64-apple-macosx14.0

Platform(s):

  • iOS
  • watchOS
  • tvOS
  • macOS

File format(s):

  • strings
  • stringsdict
  • plist
  • json

Installation method:

  • CocoaPods
  • Carthage
  • Swift Package Manager
  • Other (which ones)
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

No branches or pull requests

2 participants