Closed Arideno closed 2 years ago
Hi, I can't reproduce your bug, could you please share the project with this bug?
Here: TestI10n.zip
No exact matches in call to instance method 'l10nPlural'
The above error has been fixed. The latest version 5.10.1
should now be available.
I also checked your test project, the plurals work fine
Hi, just updated to 5.10.1. The error has been fixed. However, plurals do not work on test project on my computer. Both "number_of_apples".l10nPlural(1)
and "number_of_apples".l10nPlural(2)
returns "number_of_apples.other"
version.
I have tried many times, however I am unable to reproduce your error. Your example project, regardless of configuration also works.
Localizable.stringsdict
I have tested a little bit. It does work on simulator, but on real device it does not...
Figured it out, I have an error Can't create file:///private/var/containers/Bundle/Application/F71F2D45-EEC2-4418-A56B-3FCD69545005/XXX.app/spmResources/Plural.stringsdict: You don’t have permission to save the file “spmResources” in the folder “XXX”.
Figured it out, I have an error
Can't create file:///private/var/containers/Bundle/Application/F71F2D45-EEC2-4418-A56B-3FCD69545005/XXX.app/spmResources/Plural.stringsdict: You don’t have permission to save the file “spmResources” in the folder “XXX”.
This is very useful information. In the latest version 5.10.2
it should be fine
Short description of the issue.
Hi, I am using iOS 15. Tried both SPM and Pods. Firstly created "minutes_time.one" and "minutes_time.other" in Localizable.string in en.lproj. When I am trying to call "minutes_time".l10nPlural(1) there is an error No exact matches in call to instance method 'l10nPlural'. Then I've tried to do "minutes_time".l10nPlural(args: [1]), but then I've got "minutes_time.other" version instead of "minutes_time.one"
Environment.
DebugDescription
L10n-swift version: 5.10
Xcode version: 13.2.1
xcodebuild -version
Swift version: 5.5.2
swift -version
Platform(s):
File format(s):
Installation method: