Code Monkey home page Code Monkey logo

Comments (8)

Decybel07 avatar Decybel07 commented on May 18, 2024

Hi, I can't reproduce your bug, could you please share the project with this bug?

from l10n-swift.

Arideno avatar Arideno commented on May 18, 2024

Here: TestI10n.zip
Screenshot 2022-04-08 at 9 43 20 AM

from l10n-swift.

Decybel07 avatar Decybel07 commented on May 18, 2024

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.

Arideno avatar Arideno commented on May 18, 2024

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.
Screenshot 2022-04-09 at 12 31 57 PM
Screenshot 2022-04-09 at 12 32 07 PM
Screenshot 2022-04-09 at 12 32 16 PM

from l10n-swift.

Decybel07 avatar Decybel07 commented on May 18, 2024

I have tried many times, however I am unable to reproduce your error. Your example project, regardless of configuration also works.

  1. Try to run tests on this library.
  2. Try to define plurals in Localizable.stringsdict

from l10n-swift.

Arideno avatar Arideno commented on May 18, 2024

I have tested a little bit. It does work on simulator, but on real device it does not...

from l10n-swift.

Arideno avatar Arideno commented on May 18, 2024

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.

Decybel07 avatar Decybel07 commented on May 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.