{"id":18809003,"url":"https://github.com/lesaff/statamic-locale","last_synced_at":"2025-08-31T17:48:03.973Z","repository":{"id":75102096,"uuid":"48041685","full_name":"lesaff/statamic-locale","owner":"lesaff","description":"Localization addon for Statamic v1.x","archived":false,"fork":false,"pushed_at":"2015-12-16T15:01:35.000Z","size":3,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-22T02:11:29.755Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lesaff.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-12-15T12:31:02.000Z","updated_at":"2016-02-03T16:36:08.000Z","dependencies_parsed_at":"2023-03-15T11:15:31.394Z","dependency_job_id":null,"html_url":"https://github.com/lesaff/statamic-locale","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lesaff/statamic-locale","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lesaff%2Fstatamic-locale","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lesaff%2Fstatamic-locale/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lesaff%2Fstatamic-locale/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lesaff%2Fstatamic-locale/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lesaff","download_url":"https://codeload.github.com/lesaff/statamic-locale/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lesaff%2Fstatamic-locale/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273018122,"owners_count":25031596,"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","status":"online","status_checked_at":"2025-08-31T02:00:09.071Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-07T23:14:55.951Z","updated_at":"2025-08-31T17:48:03.947Z","avatar_url":"https://github.com/lesaff.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Localization Addon for Statamic V1.x\nRudy Affandi\ngithub.com/lesaff/statamic-locale\n\n## Installation\n- Copy `_add-ons/locale` to your `_add-ons/locale` folder in your Statamic project\n- Copy `_config/add-ons/locale` to your `_config/add-ons/locale` folder in your Statamic project\n\n## Usage\n`{{ variable|locale:param1:param2:param3 }}` \n \n**param1:** *localization type*  \nAvailable options: datetime|currency|numeric\nDefault: datetime\n__Note__: currency and numeric are not available for this version. Will be added in future version.\n\n**param2:** *language pack*  \nPlease consult readme.md on how to check your server to see available language pack on your server\nYou can use the predefined selection from `default.yaml` and edit it accordingly\n\n**param3:** *custom output format*  \nYou can use the predefined selection from `default.yaml` and edit it accordingly or if you are using multiple environment, edit the `_config/add-ons/locale/\u003cenv.yaml\u003e`\n\n## Example\nAssuming that `date` is `1450277942` (Wed, 16 Dec 2015 14:59:03 GMT)  \n\n`{{ date|locale:datetime:french_ca:default }}`\n\nWill output\n\n`16 décembre 2015`\n\n\n## Setting up your localization table\n- edit `default.yaml` in the addon folder or if you are using multiple environment, edit the `_config/add-ons/locale/\u003cenv.yaml\u003e`\n- update the key: value based on your available language packs\n- **Note**: Please be aware that the language pack is case-sensitive, so make sure to copy the name as is.\n\n## How to check your server for available language packs\n### POSIX-based OS (*nix, Linux, OSX, BSD)\n- ssh to your server\n- type `locale -a`\n\n### Windows\n- Windows 10: Go to Settings \u003e Time \u0026 language \u003e Region \u0026 language\n- Windows 7: Go to Control Panel \u003e Keyboard and Languages \u003e Install/uninstall languages\n\n### License\nThe MIT License (MIT)\n\nCopyright (c) 2015 Rudy Affandi\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flesaff%2Fstatamic-locale","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flesaff%2Fstatamic-locale","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flesaff%2Fstatamic-locale/lists"}