- if a value for a key is not found, we now return the key itself
- we now support number values via
numValue
,intValue
anddoubleValue
- mention configurations in the README
- support all configurations of the
csv
package - pass configurations via a new
CsvLocalizationsConfigurations
object - separate classes into files
- update README
- update README
- update README
- remove dates from CHANGELOG
- update README
- use named args for path / assetBundle
- README
- README
- README
- update csv 5.0.1 -> 5.1.1
- update flutter_lits 1.0.4 -> 3.0.1
- update sdk environment ">=2.12.0 <3.0.0" -> ">=2.18.0 <4.0.0"
- API: remove loaded
- use Locale.toLanguageTag to build key
- improve DOCS
- fix tests by adding GlobalMaterialLocalizations.delegates
- add lints
- replace forEach with for loop
- use const
- don't interpolate string
- update csv package to 5.0.1
- simplify README.md
- change min Dart version: 2.12.0-0 -> 2.12.0
- update csv to 5.0.0
- stable null-safety release !
- added widget tests
- pass optional asset bundle
- updated csv package and migrated to nullsafety
- improve description (and pub convention score..)
- support country codes
- remove the need to set supportedLanguageCodes
- update csv dependency to 4.1.0
- update README
I don't manipulate the CSV file anymore, but you can set the prefered eol
now
which defaults to \n
.
Decided to simplify the API again by removing the string extenstion tr
.
This makes more sense if we want to use multiple localization libraries.
Moved string_ext
to the example
folder if you want to use it.
- added CsvLocalizations.instance to avoid the need for a BuildContext
- added String extension getter 'tr'
- use \n as default eol but replace \r\n with \n before parse
- improve README
- add multiline example
- update README
- add rationale to README
- tweak example and remove danish
- simplify API to use a single
string
method. We don't want to pollute String with extensions methods. Users can add (and name) these themselves as they see fit.
- trim CSV file for leading and trailing spaces
- update README
- update README with localized image example
- update README
- update README
- add String extension translate method 'Hi'.tr(context)
- update README
- initial release
- localize app using a single csv file