quantulum3 icon indicating copy to clipboard operation
quantulum3 copied to clipboard

Hi I'm adding a new language (Spanish) and i have an issue!

Open tmullerv opened this issue 5 years ago • 4 comments
trafficstars

Hi thanks for reading. I'm trying to add a new language and i have an issue, as i try to add units to units.js in _lang.es_CL, it seems that entities.json from es_CL are not loaded beforehand thus not finding it in entities, as i could resolve the problem by adding the entitie to main entities.json file. Am i missing something? is this the expecte behaviour?

I'm really pleased with the use of this library in english so i'm very compromised on getting it to work on spanish. thx again image

tmullerv avatar Jul 29 '20 17:07 tmullerv

Thats a very cool project! Unfortunately, if you don't show me what changes you made to the code, I cannot debug the issue. Maybe you can push your changes to a branch on your fork?

nielstron avatar Jul 31 '20 19:07 nielstron

I did pushed to a new branch in my fork (ES_dev) if u could check it out, the problem solves when i manually add the entities to the main entities.json file. You could try that too just copying the ones from the es_CL/entities.json

tmullerv avatar Aug 03 '20 19:08 tmullerv

After that the next error i get is this, i believe is because i havent retrained the classifier. I'll translate the train.json an try to retrain the classifier.

image

tmullerv avatar Aug 03 '20 20:08 tmullerv

Hey @tmullerv Did you end up finishing this?

lizozom avatar Feb 13 '23 12:02 lizozom