Comments (8)
Hi, I can't reproduce your bug, could you please share the project with this bug?
from l10n-swift.
Here: TestI10n.zip
from l10n-swift.
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
from l10n-swift.
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.
from l10n-swift.
I have tried many times, however I am unable to reproduce your error. Your example project, regardless of configuration also works.
- Try to run tests on this library.
- Try to define plurals in
Localizable.stringsdict
from l10n-swift.
I have tested a little bit. It does work on simulator, but on real device it does not...
from l10n-swift.
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”.
from l10n-swift.
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
from l10n-swift.
Related Issues (20)
- Too long localization keys problem
- Plural localization not working HOT 14
- Support l10n for header of the static table view HOT 1
- Language doesn't change in static variables. HOT 2
- Wrong result/missing support for multiple arguments in plural function HOT 1
- language not changing in storyboard HOT 1
- Swift 5.0 Support HOT 6
- fails to install with swift pm HOT 9
- Info.plist localization support HOT 1
- How to set resource provider to load from jSON file? HOT 1
- SwiftUI Support HOT 1
- Line break are escaped in translated strings HOT 1
- Not support Localization in custom Framework HOT 15
- IBInspectable with custom bundle HOT 1
- 'L10n' is not a member type of class 'FrameworkMainClass.FrameworkMainClass' HOT 1
- Language change on macOS doesn't update system menubar items HOT 1
- Get compilation error "Cannot convert value of type 'Int' to expected argument type 'L10n'" HOT 2
- ios widget extension not working
- Conformance with CVarArg HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from l10n-swift.