ICU4X Datagen Troubleshooting - What data or markers am I missing? #7690
-
|
I am using the npm package that lets me use ICU4X in TypeScript. Currently I am using icu4x-datagen to create my own provider. I am using version 2.1.0 for both the npm package and the datagen Rust crate. This is what I run for the datagen script: This worked fine for the bare number formatting I was trying to do in my application, but specifically when I started using myLocale.setUnicodeExtension('nu', 'latn') I started to get missing data or identifiers: It is very difficult for me to follow the docs to know what markers or data I am missing... (maybe I just don't know rust enough?) But any hint at all would be greatly appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 25 replies
-
|
I bet this is one of the locale fallback markers. Let me have a look and figure out which one. Can you share which ICU4X APIs you are using? |
Beta Was this translation helpful? Give feedback.
-
|
Okay, I think a thing I didn't realize is that you're not actually getting an error, you're just seeing the error in the logs. The code is still succeeding, just printing an (incorrect) error along the way. This was fixed in f9790c9; previously the code did not use This can be backported if you really need, but we usually don't consider printed warnings to be a huge deal. |
Beta Was this translation helpful? Give feedback.
Okay, I think a thing I didn't realize is that you're not actually getting an error, you're just seeing the error in the logs. The code is still succeeding, just printing an (incorrect) error along the way.
This was fixed in f9790c9; previously the code did not use
allow_identifier_not_found.This can be backported if you really need, but we usually don't consider printed warnings to be a huge deal.