{"id":13424615,"url":"https://github.com/Auswaschbar/alpine-localized-docker","last_synced_at":"2025-03-15T18:35:32.631Z","repository":{"id":66685710,"uuid":"172878185","full_name":"Auswaschbar/alpine-localized-docker","owner":"Auswaschbar","description":"Adding locales to an alpine container in a single easy step","archived":false,"fork":false,"pushed_at":"2023-12-19T21:47:20.000Z","size":3,"stargazers_count":20,"open_issues_count":2,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-26T23:55:33.005Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","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/Auswaschbar.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2019-02-27T08:48:26.000Z","updated_at":"2023-07-28T19:56:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"57bd0403-79f6-435e-967c-4e71be4e003b","html_url":"https://github.com/Auswaschbar/alpine-localized-docker","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/Auswaschbar%2Falpine-localized-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Auswaschbar%2Falpine-localized-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Auswaschbar%2Falpine-localized-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Auswaschbar%2Falpine-localized-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Auswaschbar","download_url":"https://codeload.github.com/Auswaschbar/alpine-localized-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243775899,"owners_count":20346282,"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-07-31T00:00:57.039Z","updated_at":"2025-03-15T18:35:27.621Z","avatar_url":"https://github.com/Auswaschbar.png","language":"Dockerfile","funding_links":[],"categories":["Dockerfile"],"sub_categories":[],"readme":"# alpine-localized-docker\n\nAdding locales to an alpine container in a single easy step.\n\n## Building an image\n\nBuild a test image named alpine-localized with\n\n```sh\ndocker build -t alpine-localized .\n```\n\nTest if locales work with\n\n```sh\ndocker run alpine-localized sh -c 'date \u0026\u0026 LC_ALL=de_DE.UTF-8 date'\n```\n\n## Incorporating the image into your container\n\nEither use this image as a base, or copy the two steps from this dockerfile into your own.\n\n## Using locales\n\n- Set the environment variables LC\\_... to your favorite locale.\n- in C(++), using `newlocale()` also works\n- either way, as of now, musl requires you to use the full locale name like _de_DE.UTF-8_. Using just _de_DE_ doesn't seem to work\n\n## Creating or modifying locales\n\nPer default, locales are maintained and pulled from https://gitlab.com/rilian-la-te/musl-locales.\nCurrently, the selection of locales is very limited and incomplete, but you are welcome to create your own.\nTo do so, clone that repository, modify the existing .po files or create a new one.\n\nThen, you can:\n\n- test your new creations by changing the repository address inside the Dockerfile to your own clone\n- make a merge request upstream\n\n# Credits\n\nKonstantin from https://gitlab.com/rilian-la-te/musl-locales for the locale program.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAuswaschbar%2Falpine-localized-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAuswaschbar%2Falpine-localized-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAuswaschbar%2Falpine-localized-docker/lists"}