Skip to content

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

@ov1d1u

Description

@ov1d1u

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)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions