{"id":19208057,"url":"https://github.com/ubuntu/go-i18n","last_synced_at":"2025-04-15T06:11:20.296Z","repository":{"id":182561506,"uuid":"654201868","full_name":"ubuntu/go-i18n","owner":"ubuntu","description":"i18n wrapper joining gettext support for Linux and Windows","archived":false,"fork":false,"pushed_at":"2025-02-13T12:45:02.000Z","size":171,"stargazers_count":3,"open_issues_count":3,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-28T16:51:17.346Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/ubuntu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-15T15:44:28.000Z","updated_at":"2025-02-13T12:45:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"bac3d12a-8f5d-4e19-945a-58a3e8e3d901","html_url":"https://github.com/ubuntu/go-i18n","commit_stats":null,"previous_names":["ubuntu/go-i18n"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ubuntu%2Fgo-i18n","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ubuntu%2Fgo-i18n/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ubuntu%2Fgo-i18n/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ubuntu%2Fgo-i18n/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ubuntu","download_url":"https://codeload.github.com/ubuntu/go-i18n/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249016627,"owners_count":21198833,"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":[],"created_at":"2024-11-09T13:24:01.083Z","updated_at":"2025-04-15T06:11:20.272Z","avatar_url":"https://github.com/ubuntu.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Welcome to go-i18n\n\n[actions-image]: https://github.com/ubuntu/go-i18n/actions/workflows/qa.yaml/badge.svg?branch=main\n[actions-url]: https://github.com/ubuntu/go-i18n/actions?query=branch%3Amain+event%3Apush\n\n[license-image]: https://img.shields.io/badge/License-MIT-blue.svg\n\n[codecov-image]: https://codecov.io/gh/ubuntu/go-i18n/branch/master/graph/badge.svg\n[codecov-url]: https://codecov.io/gh/ubuntu/go-i18n\n\n[reference-documentation-image]: https://pkg.go.dev/badge/github.com/ubuntu/go-i18n.svg\n[reference-documentation-url]: https://pkg.go.dev/github.com/ubuntu/go-i18n\n\n[goreport-image]: https://goreportcard.com/badge/github.com/ubuntu/go-i18n\n[goreport-url]: https://goreportcard.com/report/github.com/ubuntu/go-i18n\n\n[![Code quality][actions-image]][actions-url]\n[![License][license-image]](LICENSE)\n[![Code coverage][codecov-image]][codecov-url]\n[![Reference documentation][reference-documentation-image]][reference-documentation-url]\n[![Go Report Card][goreport-image]][goreport-url]\n\nThis is the code repository for **go-i18n**, a go-text wrapper joining gettext support for Linux and Windows.\n\nThis package allows to transparently embeds local translation or lookup in system path for installed translations on both platforms. It also includes a composite Github action to update translation on any folder. It will initialize and loads translation, ready to be used by [gotext](https://github.com/leonelquinteros/gotext).\n\nFor usage in your own project, please refer to the [reference documentation]([reference-documentation-url]).\n\n## Reusable github action\n\nA reusable action will extract any translatable strings using [gotext](https://github.com/leonelquinteros/gotext) functions in your code. Those will generate an up to date `\u003cdomain\u003e.pot` file in the destination directory. Any `\u003clocale\u003e.po` file inside this directory will then be refreshed with the new available translations.\n\nUsage example:\n\n```yaml\n\n```\n\nTo bootstrap a new locale, you can `cp \u003cdomain\u003e.pot \u003clocale\u003e.po` and commit it.\n\n## Troubleshooting\n\nThe project is using the slog package from Go 1.21. You can increase the verbosity of your embedding code to have more logs printed.\n\n## Get involved\n\nThis is an [open source](LICENSE) project and we warmly welcome community contributions, suggestions, and constructive feedback. If you're interested in contributing, please take a look at our [Contribution guidelines](CONTRIBUTING.md) first.\n\n- to report an issue, please file a bug report against our repository, using a bug template.\n- for suggestions and constructive feedback, report a feature request bug report, using the proposed template.\n\n## Get in touch\n\nWe're friendly! We have a community forum at [https://discourse.ubuntu.com](https://discourse.ubuntu.com) where we discuss feature plans, development news, issues, updates and troubleshooting.\n\nFor news and updates, follow the [Ubuntu twitter account](https://twitter.com/ubuntu) and on [Facebook](https://www.facebook.com/ubuntu).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fubuntu%2Fgo-i18n","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fubuntu%2Fgo-i18n","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fubuntu%2Fgo-i18n/lists"}