flutter_ilib 1.0.0+webos.1
flutter_ilib: ^1.0.0+webos.1 copied to clipboard
A wrapper plugin to conveniently use 'iLib' in Flutter app for internationalization. This plugin uses the 'flutter_js' to make the JavaScript file work properly in the Flutter app.
Notice #
The version with +webos.# is designed for webOS Flutter applications.
The Dart code is identical to the general version, but the dependent iLib files are slightly modified to meet webOS locale data requirements.
1.0.0+webos.1 #
- Synchronized with version 1.0.0
- iLib version: v14.20.0
1.0.0 #
- Updated the structure to load separate locale data files.
Previously, the dependent ilib was a fully assembled JS file. Now, the ilib files are divided into the js and locale files.
The JS code is assembled asilib-init.js
, and the locale files are generated with names like [language].js, e.g.en.js
,ko.js
. The iLib files are generated using the ilib-assemble tool. This change brings memory savings over previous versions of flutter_ilib.
Initially, when the app is launched, the package automatically loads the locale data by detecting the system's locale. To load the updated locale data file when the locale changes, I suggest adding the following method at the appropriate time when the locale chanages._flutterIlibPlugin.loadLocaleData(curLocale);
0.4.0 #
- Added
libquickjs_c_bridge_plugin.so
for aarch64-webos - Updated
CMakeLists.txt
for webos to support both arm and aarch64
0.3.0 #
- Added the method
getMeridiemsRange()
in the class ILibDateFmt. - Updated test files to use ILib's
loadJS()
instead ofloadJSwithPath()
. - Updated the test files to share them between flutter_ilib and another flutter_ilib for webOS. The webOS overrides some of the locale data, so some test cases return different results.
0.2.0 #
- Added the method
getTemplate()
in the class ILibDateFmt. - Regenerated the assemble ilib file to return the correct released version number.
- Changed the name of the assemble ilib file to
ilib-all.js
.
0.2.0+webos.1 #
- Synchronized with version 0.2.0
- iLib version: v14.20.0