You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we set the locale for es_CO with name as COP he changes the position of the $ from left to right.
code examples executed on DartPad:
// This shows the $ at left
import 'package:intl/intl.dart';
void main() {
final format = NumberFormat.simpleCurrency(name: 'COP');
print(format.format(100));
}
// This shows the $ at right
import 'package:intl/intl.dart';
void main() {
Intl.defaultLocale = 'es_CO';
final format = NumberFormat.simpleCurrency(name: 'COP');
print(format.format(100));
}
// This shows the $ at right
import 'package:intl/intl.dart';
void main() {
final format = NumberFormat.simpleCurrency(locale: 'es_CO', name: 'COP');
print(format.format(100));
}
// This shows the $ at left
import 'package:intl/intl.dart';
void main() {
final format = NumberFormat.simpleCurrency(locale: 'en', name: 'COP');
print(format.format(100));
}
The text was updated successfully, but these errors were encountered:
Ah, indeed es_CO is not known and falls back to es, not es_419. This should be fixed, or will be in the (hopefully out of experimental soon) package:intl4x.
When we set the locale for
es_CO
with name asCOP
he changes the position of the$
from left to right.code examples executed on DartPad:
The text was updated successfully, but these errors were encountered: