{"id":15538220,"url":"https://github.com/lsaudon/l10nization","last_synced_at":"2025-04-15T21:35:20.313Z","repository":{"id":62302329,"uuid":"556445638","full_name":"lsaudon/l10nization","owner":"lsaudon","description":"L10nization is a tool for extracting text to arb files for l10n or r13n in a Flutter application.","archived":false,"fork":false,"pushed_at":"2025-01-17T12:09:22.000Z","size":2534,"stargazers_count":20,"open_issues_count":10,"forks_count":6,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T16:51:57.288Z","etag":null,"topics":["arb","dart","extension","flutter","hacktoberfest","l10n","r13n","visual-studio-code","vscode","vscode-extension"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=lsaudon.l10nization","language":"TypeScript","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/lsaudon.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":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-23T21:35:41.000Z","updated_at":"2025-01-17T12:09:22.000Z","dependencies_parsed_at":"2023-12-14T23:27:11.804Z","dependency_job_id":"a5e1fd73-c7b9-4009-9896-7bf5c80f9450","html_url":"https://github.com/lsaudon/l10nization","commit_stats":null,"previous_names":[],"tags_count":36,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsaudon%2Fl10nization","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsaudon%2Fl10nization/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsaudon%2Fl10nization/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsaudon%2Fl10nization/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lsaudon","download_url":"https://codeload.github.com/lsaudon/l10nization/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246126061,"owners_count":20727520,"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":["arb","dart","extension","flutter","hacktoberfest","l10n","r13n","visual-studio-code","vscode","vscode-extension"],"created_at":"2024-10-02T12:02:38.803Z","updated_at":"2025-03-30T17:31:55.343Z","avatar_url":"https://github.com/lsaudon.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# L10nization README\n\n\"L10nization\" is a tool for extracting text to arb files for l10n or [r13n](https://github.com/VeryGoodOpenSource/r13n) in a Flutter application.\n\n## Features\n\n1. You must select the text with the quotes (like \"Hello World\").\n1. In the action code you will find `Extract 'Hello World' to arb files`.\n1. You can change the name of the `key` via the command.\n\n![Extract 'Hello World' to arb files](https://github.com/lsaudon/l10nization/blob/main/images/extract-to-arb-files.gif?raw=true)\n\n### App Localizations Variable\n\nBy default, the variable used for AppLocalizations is `l10n` you can change it in the parameters as if below:\n\n```json\n\"l10nization.appLocalizationsVariable\": \"yourVariable\"\n```\n\nBy default, the extension launches `flutter pub get` via the [Dart extension](https://marketplace.visualstudio.com/items?itemName=Dart-Code.dart-code). You can disable it in the settings.\n\n### For r13n\n\nTo use the extension with [r13n](https://github.com/VeryGoodOpenSource/r13n), the following parameters must be changed.\n\n```json\n\"l10nization.appLocalizationsVariable\": \"r13n\", // or whatever you want.\n\"l10nization.yamlFile\": \"r13n.yaml\"\n```\n\n### Add description\n\nYou can add the description by enabling `l10nization.haveMetadatas`.\n\n### Add message in\n\nYou can choose if you want add new message with `addNewMessagesIn` in .\n\n- `all`: all files\n- `template`: only in template file\n\n### Sort arb files\n\nYou can use the command `L10nization: Sort arb files`.\n\n### Number format\n\n| Message “format” value  | Output for numberOfDataPoints(1200000) |\n| ----------------------- | -------------------------------------- |\n| \"compact\"               | \"1.2M\"                                 |\n| \"compactCurrency\"       | \"$1.2M\"                                |\n| \"compactSimpleCurrency\" | \"$1.2M\"                                |\n| \"compactLong\"           | \"1.2 million\"                          |\n| \"currency\"              | \"USD1,200,000.00\"                      |\n| \"decimalPattern\"        | \"1,200,000\"                            |\n| \"decimalPercentPattern\" | \"120,000,000%\"                         |\n| \"percentPattern\"        | \"120,000,000%\"                         |\n| \"scientificPattern\"     | \"1E6\"                                  |\n| \"simpleCurrency\"        | \"$1,200,000.00\"                        |\n\n### Date format\n\n**The extension does not check that it is correct.**\n\nFor the Date format, you can select those already available or write your own.\n\n## Release Notes\n\nFor full release notes, see the [changelog](CHANGELOG.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flsaudon%2Fl10nization","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flsaudon%2Fl10nization","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flsaudon%2Fl10nization/lists"}