{"id":16401765,"url":"https://github.com/xaldarof/modified-localization","last_synced_at":"2026-05-08T16:43:49.331Z","repository":{"id":65609531,"uuid":"595550200","full_name":"xaldarof/modified-localization","owner":"xaldarof","description":"Modified Localization simplifies the localization process, saving time and ensuring accuracy. Expand your app's accessibility and connect with users worldwide with Modified Localization.","archived":false,"fork":false,"pushed_at":"2023-03-27T09:24:33.000Z","size":318,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-05T04:44:16.040Z","etag":null,"topics":["flutter","generate","localization","package"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xaldarof.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"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}},"created_at":"2023-01-31T10:10:48.000Z","updated_at":"2024-06-07T12:08:39.000Z","dependencies_parsed_at":"2024-11-09T17:35:50.655Z","dependency_job_id":"6adf3206-f0bc-4dea-a0f3-92b3023eab8b","html_url":"https://github.com/xaldarof/modified-localization","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xaldarof%2Fmodified-localization","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xaldarof%2Fmodified-localization/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xaldarof%2Fmodified-localization/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xaldarof%2Fmodified-localization/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xaldarof","download_url":"https://codeload.github.com/xaldarof/modified-localization/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240339489,"owners_count":19785956,"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":["flutter","generate","localization","package"],"created_at":"2024-10-11T05:44:05.978Z","updated_at":"2026-01-11T13:34:00.723Z","avatar_url":"https://github.com/xaldarof.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![pub package](https://img.shields.io/pub/v/shared_preferences.svg)](https://pub.dev/packages/modified_localization)\n\n\n# example\n\nRun in terminal : `flutter pub run modified_localization:generate -o locale_keys.g.dart --source-dir /your_dir`\n\n## example/resources/langs/en-EN.json\n\n```json\n{\n  \"hi\": \"Hi !\",\n  \"welcome\": \"Welcome {}\"\n}\n```\n \nWill be generated strings class like this, then you can use it without .tr(), if arguments needed will be generated args function\n\n```dart\nabstract class Strings {\n  static String get hi =\u003e 'hi'.tr();\n\n  static String welcome(String arg0) {\n    return 'welcome'.tr(args: [arg0]);\n  }\n}\n```\n\n### [example/lib/main.dart](https://github.com/aissat/easy_localization/blob/master/example/lib/main.dart)\n\n```dart\nclass MyHomePage extends StatefulWidget {\n  MyHomePage({Key? key, required this.title}) : super(key: key);\n\n  final String title;\n\n  @override\n  _MyHomePageState createState() =\u003e _MyHomePageState();\n}\n\nclass _MyHomePageState extends State\u003cMyHomePage\u003e {\n  @override\n  Widget build(BuildContext context) {\n    return Scaffold(\n      body: Container(\n        child: Column(\n          mainAxisSize: MainAxisSize.min,\n          mainAxisAlignment: MainAxisAlignment.center,\n          crossAxisAlignment: CrossAxisAlignment.center,\n          children: [\n            Text(Strings.hi),\n            Text(Strings.welcome(\"Flutter\")),\n          ],\n        ),\n        alignment: Alignment.center,\n      ),\n    );\n  }\n}\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxaldarof%2Fmodified-localization","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxaldarof%2Fmodified-localization","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxaldarof%2Fmodified-localization/lists"}