Giter Club home page Giter Club logo

Comments (25)

TheOneWithTheBraid avatar TheOneWithTheBraid commented on September 27, 2024 1

The file I initially uploaded are available on GitLab under the terms and conditions of the EUPL-1.2: https://gitlab.com/testapp-system/testapp-flutter/-/blob/632ff7153ea69729b77701899a49d96e36ac5168/lib/l10n/intl_en.arb
Note: the camel-case Issue was already resolved after uploading/before trying to download.

from arb_editor.

jamesblasco avatar jamesblasco commented on September 27, 2024

There is a bug sometimes when creating a new resource. I am working on it.

Try to refresh the website (the data should save) and check if any resource has an empty id and says undefined.

I am sorry that you had this problem, the project is very experimental. Let me know if that temporarily solves it

from arb_editor.

TheOneWithTheBraid avatar TheOneWithTheBraid commented on September 27, 2024

How do you mean empty ID?

I don't have any empty label or fully empty resources but I do have resources only translated into some of the languages.

from arb_editor.

TheOneWithTheBraid avatar TheOneWithTheBraid commented on September 27, 2024

It's displaying my project in the home page with an empty label/no name.

from arb_editor.

jamesblasco avatar jamesblasco commented on September 27, 2024

Could you add a label there, and try if it works?

from arb_editor.

TheOneWithTheBraid avatar TheOneWithTheBraid commented on September 27, 2024

How do I do?
screenshot

from arb_editor.

jamesblasco avatar jamesblasco commented on September 27, 2024

Wow that looks weird haha
Click the white thin card below recent projects

from arb_editor.

TheOneWithTheBraid avatar TheOneWithTheBraid commented on September 27, 2024

O know, I did but how can I name it?
image

from arb_editor.

jamesblasco avatar jamesblasco commented on September 27, 2024

Did you start with an arb file called intl? That should be fine.

Check in that page if there is a resource with 'undefined' label id

from arb_editor.

TheOneWithTheBraid avatar TheOneWithTheBraid commented on September 27, 2024

No, there isn't. Yes, my first resource was called intl_en.arb . Still, it doesn't export/download...

from arb_editor.

TheOneWithTheBraid avatar TheOneWithTheBraid commented on September 27, 2024

I get the following JS error when pressing the download button:

Another exception was thrown: Instance of 'minified:bz<void>'

in js_primitives.dart:49

The file contains (according to the network debugger)

Error while fetching an original source: NetworkError when attempting to fetch resource.
Source URL: org-dartlang-sdk:///sdk/lib/_internal/js_runtime/lib/js_primitives.dart

from arb_editor.

jamesblasco avatar jamesblasco commented on September 27, 2024

and any of them has same name or no alphanumeric chars no?

from arb_editor.

jamesblasco avatar jamesblasco commented on September 27, 2024

It is failing to parse the dart object to arb file

from arb_editor.

TheOneWithTheBraid avatar TheOneWithTheBraid commented on September 27, 2024

No duplicate names and except of shortTest5Exercises no numbers, spaces or special characters in the labels.

from arb_editor.

jamesblasco avatar jamesblasco commented on September 27, 2024

I am going to work on improving the error while parsing, so I can detect better where the error comes. If you need the translation right away, I would suggest you to use this tool https://localise.biz/, otherwise I could try to fix it on Monday

from arb_editor.

TheOneWithTheBraid avatar TheOneWithTheBraid commented on September 27, 2024

I can have a little hack to. I only hope my browser won't clean it's cache. I did some hours of work to manually translate about 1200 Strings into German, French and Klingon.

from arb_editor.

TheOneWithTheBraid avatar TheOneWithTheBraid commented on September 27, 2024

Anyway, thank you for the quick help!

from arb_editor.

jamesblasco avatar jamesblasco commented on September 27, 2024

I will do my best to solve it

from arb_editor.

jamesblasco avatar jamesblasco commented on September 27, 2024

Could you refresh and check the error again? It should have a better description

from arb_editor.

TheOneWithTheBraid avatar TheOneWithTheBraid commented on September 27, 2024
Error in <unknown source>: Unterminated string literal.

Error in <unknown source>: Unterminated string literal.

Error in <unknown source>: Expected to find ','.

Error in <unknown source>: Expected to find ','.

Error in <unknown source>: Expected to find ','.

Error in <unknown source>: Expected to find ','.

Error in <unknown source>: Expected to find ','.

Error in <unknown source>: Expected to find ','.

Error in <unknown source>: Expected to find ','.

Error in <unknown source>: Expected to find ','.

Error in <unknown source>: Expected to find ','.

Error in <unknown source>: Expected to find ','.

Error in <unknown source>: Expected to find ','.

Error in <unknown source>: Expected to find ','.

Error in <unknown source>: Expected to find ','.

Error in <unknown source>: Expected to find ','.

Error in <unknown source>: Expected to find ','.

Error in <unknown source>: Expected to find ','.

from arb_editor.

jamesblasco avatar jamesblasco commented on September 27, 2024

Nothing that starts with Error: ? Those errors appear when tap on the download button?

from arb_editor.

TheOneWithTheBraid avatar TheOneWithTheBraid commented on September 27, 2024

Just:

Error in parsing intl_strings.dart, no messages extracted. js_primitives.dart:49
Error in <unknown source>: Unterminated string literal.

Error in <unknown source>: Unterminated string literal.

Error in <unknown source>: Expected to find ','.

Error in <unknown source>: Expected to find ','.

Error in <unknown source>: Expected to find ','.

Error in <unknown source>: Expected to find ','.

Error in <unknown source>: Expected to find ','.

Error in <unknown source>: Expected to find ','.

Error in <unknown source>: Expected to find ','.

Error in <unknown source>: Expected to find ','.

Error in <unknown source>: Expected to find ','.

Error in <unknown source>: Expected to find ','.

Error in <unknown source>: Expected to find ','.

Error in <unknown source>: Expected to find ','.

Error in <unknown source>: Expected to find ','.

Error in <unknown source>: Expected to find ','.

Error in <unknown source>: Expected to find ','.

Error in <unknown source>: Expected to find ','.
js_primitives.dart:49

Yes, they appear when pressing the download button.

from arb_editor.

jamesblasco avatar jamesblasco commented on September 27, 2024

What about now? I uploaded a new version

from arb_editor.

TheOneWithTheBraid avatar TheOneWithTheBraid commented on September 27, 2024

Thank you so much! It's working!
May you tell me what the issue was?

from arb_editor.

jamesblasco avatar jamesblasco commented on September 27, 2024

Some generated translation file arb was not being parsed correctly when creating the intl_string.dart.
Maybe you lost a translation in flutter, could you check the console if it tells you which file is the one throwing the error.
It would be very valuable for me if you could share with me the translation files so I can take a deeper look in what the real problem is. You can share it to [email protected] if you want 🙂

from arb_editor.

Related Issues (4)

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.