{"id":24377786,"url":"https://github.com/aissat/easy_localization_loader","last_synced_at":"2025-09-10T10:40:27.335Z","repository":{"id":39298969,"uuid":"256739842","full_name":"aissat/easy_localization_loader","owner":"aissat","description":"custom assets loaders for easy_localization","archived":false,"fork":false,"pushed_at":"2024-12-04T19:36:35.000Z","size":44,"stargazers_count":62,"open_issues_count":25,"forks_count":86,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-10T10:31:58.690Z","etag":null,"topics":["api","assets","csv","customization-assetloader","dart","flutter","http","i18","i18n","i18n-alternative","json","loader","locales","locales-translation","localization","localization-tool","translation"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/easy_localization_loader","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aissat.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-04-18T11:46:52.000Z","updated_at":"2024-12-04T19:36:40.000Z","dependencies_parsed_at":"2024-05-23T08:48:43.089Z","dependency_job_id":"d5fb4672-fbf7-4745-91df-c6c6b9650c0e","html_url":"https://github.com/aissat/easy_localization_loader","commit_stats":{"total_commits":27,"total_committers":15,"mean_commits":1.8,"dds":0.7037037037037037,"last_synced_commit":"2a8a3379ca22b4582145f682fe3cfc3615522196"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aissat%2Feasy_localization_loader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aissat%2Feasy_localization_loader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aissat%2Feasy_localization_loader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aissat%2Feasy_localization_loader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aissat","download_url":"https://codeload.github.com/aissat/easy_localization_loader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254582907,"owners_count":22095518,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","assets","csv","customization-assetloader","dart","flutter","http","i18","i18n","i18n-alternative","json","loader","locales","locales-translation","localization","localization-tool","translation"],"created_at":"2025-01-19T06:17:01.555Z","updated_at":"2025-05-16T18:11:01.149Z","avatar_url":"https://github.com/aissat.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Custom assets loaders for [Easy Localization](https://github.com/aissat/easy_localization) package \n\n![Pub Version](https://img.shields.io/pub/v/easy_localization_loader?style=flat-square)\n![Code Climate issues](https://img.shields.io/github/issues/aissat/easy_localization_loader?style=flat-square)\n![GitHub closed issues](https://img.shields.io/github/issues-closed/aissat/easy_localization_loader?style=flat-square)\n![GitHub contributors](https://img.shields.io/github/contributors/aissat/easy_localization_loader?style=flat-square)\n![GitHub repo size](https://img.shields.io/github/repo-size/aissat/easy_localization_loader?style=flat-square)\n![GitHub forks](https://img.shields.io/github/forks/aissat/easy_localization_loader?style=flat-square)\n![GitHub stars](https://img.shields.io/github/stars/aissat/easy_localization_loader?style=flat-square)\n\u003c!-- ![Coveralls github branch](https://img.shields.io/coveralls/github/aissat/easy_localization/dev?style=flat-square) --\u003e\n\u003c!-- ![GitHub Workflow Status](https://img.shields.io/github/workflow/status/aissat/easy_localization/Flutter%20Tester?longCache=true\u0026style=flat-square\u0026logo=github) --\u003e\n![CodeFactor Grade](https://img.shields.io/codefactor/grade/github/aissat/easy_localization_loader?style=flat-square)\n![GitHub license](https://img.shields.io/github/license/aissat/easy_localization_loader?style=flat-square)\n\n### Supported formats\n\n- [x] JSON (JsonAssetLoader)\n- [x] CSV (CsvAssetLoader)\n- [x] HTTP (HttpAssetLoader)\n- [x] XML (XmlAssetLoader, XmlSingleAssetLoader)\n- [x] Yaml (YamlAssetLoader, YamlSingleAssetLoader)\n- [x] FILE (FileAssetLoader)\n\n### Configuration\n\n1. Add this to your package's pubspec.yaml file:\n\n```yaml\ndependencies:\n  #Easy Localization main package\n  easy_localization: \u003clast_version\u003e\n\n    # stable version install from https://pub.dev/packages\n  easy_localization_loader: \u003clast_version\u003e\n\n  # Dev version install from git REPO\n  easy_localization_loader:\n    git: https://github.com/aissat/easy_localization_loader.git\n\n```\n\n2. Change assetLoader and path\n\n```dart\n...\nvoid main(){\n  runApp(EasyLocalization(\n    child: MyApp(),\n    supportedLocales: [Locale('en', 'US'), Locale('ar', 'DZ')],\n    path: 'resources/langs/langs.csv',\n    assetLoader: CsvAssetLoader()\n  ));\n}\n...\n```\n\n3. All done!.\n\n\n### Loaders Specification\n\n#### HttpAssetLoader\n\nIn order to use HttpAssetLoader you must provide a path to a folder (i.e. base path) where all your translations are placed like `https://example.com/translations`\n\nYour translations should be created as separate files with `.json` extension. Placing translations as individual files reduces the size of the file to load on application init.\nExample:\n\n```\ntranslations/\n├── en-US.json\n└── uk-UA.json\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faissat%2Feasy_localization_loader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faissat%2Feasy_localization_loader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faissat%2Feasy_localization_loader/lists"}