{"id":21244421,"url":"https://github.com/unyt-org/example-localization","last_synced_at":"2025-06-30T02:05:11.197Z","repository":{"id":195797138,"uuid":"693652891","full_name":"unyt-org/example-localization","owner":"unyt-org","description":"Localization base project using UIX and DATEX","archived":false,"fork":false,"pushed_at":"2025-03-21T19:34:15.000Z","size":354,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-26T18:03:52.701Z","etag":null,"topics":["datex","localization","typescript","uix","uix-example","unyt"],"latest_commit_sha":null,"homepage":"https://localization.example.unyt.org","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/unyt-org.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},"funding":{"github":["unyt-org"],"patreon":"unyt","custom":["https://unyt.org/donate","https://shop.unyt.org"]}},"created_at":"2023-09-19T12:58:06.000Z","updated_at":"2025-03-21T19:34:19.000Z","dependencies_parsed_at":"2023-09-19T17:09:14.206Z","dependency_job_id":"9050e456-fbf9-42c3-9ea0-713d1fcd37a3","html_url":"https://github.com/unyt-org/example-localization","commit_stats":null,"previous_names":["unyt-org/example-localization"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/unyt-org/example-localization","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unyt-org%2Fexample-localization","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unyt-org%2Fexample-localization/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unyt-org%2Fexample-localization/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unyt-org%2Fexample-localization/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unyt-org","download_url":"https://codeload.github.com/unyt-org/example-localization/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unyt-org%2Fexample-localization/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262697250,"owners_count":23349890,"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":["datex","localization","typescript","uix","uix-example","unyt"],"created_at":"2024-11-21T01:25:07.932Z","updated_at":"2025-06-30T02:05:11.146Z","avatar_url":"https://github.com/unyt-org.png","language":"TypeScript","funding_links":["https://github.com/sponsors/unyt-org","https://patreon.com/unyt","https://unyt.org/donate","https://shop.unyt.org"],"categories":[],"sub_categories":[],"readme":"# Example: Localization base\n\nThis repository demonstrates some essential concept of the\n[UIX](https://uix.unyt.org) framework such as\n[SSR](https://unyt.org/glossary#ssr) and localization (multi language support).\n\n## Installation\n\n1. Install the **UIX command line tool** following the\n   [Getting Started](https://docs.unyt.org/manual/uix/getting-started#the-uix-command-line-tool)\n   guide in our documentation.\n\n2. Clone this repository to your local machine:\n\n   ```bash\n   $ git clone https://github.com/unyt-org/example-localization.git\n   ```\n3. Run the project local\n   ```bash\n   $ uix --port 8000\n   ```\n4. Navigate to your favourite web browser and open http://localhost:8000 to see\n   everything in action.\n\n## Structure\n\nThis diagram outlines the UIX default project structure. Since everything is\nrendered on the server there is just a\n[back-end](https://unyt.org/glossary#back-end) folder.\n\n```\n.\n└── example-localization/\n    ├── backend/\n    │   ├── .dx                 // Config file for deployment\n    │   └── entrypoint.tsx      // Back-end entrypoint\n    ├── common/\n    │   ├── components/\n    │   │   └── Main.tsx        // Main component\n    │   └── data.dx             // Localization file\n    ├── frontend/\n    │   ├── entrypoint.scss     // Style declaration\n    │   └── entrypoint.tsx      // Front-end entrypoint\n    ├── app.dx                  // Endpoint config file\n    └── deno.json               // Deno config file\n```\n\n## Features\n\n- Multi-language support for static, hybrid and server-side rendering\n\n## Preview\n\n\u003cimg src=\".github/screenshot.png\" width=\"400\"\u003e\n\n## Explanation\n\n### Environment Variables\n\nIn [DATEX](https://datex.unyt.org), environment variables can be accessed using\n`Datex.Runtime.ENV`. Changing `Datex.Runtime.ENV` modifies the user language.\n\n---\n\n\u003csub\u003e\u0026copy; unyt 2025 • [unyt.org](https://unyt.org)\u003c/sub\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funyt-org%2Fexample-localization","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funyt-org%2Fexample-localization","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funyt-org%2Fexample-localization/lists"}