{"id":19580057,"url":"https://github.com/hyde/trans","last_synced_at":"2026-05-16T05:40:48.567Z","repository":{"id":5293653,"uuid":"6474376","full_name":"hyde/trans","owner":"hyde","description":"A simple hyde website derived from the BASIC layout that provides support for a multilingual site.  ","archived":false,"fork":false,"pushed_at":"2012-10-31T13:34:45.000Z","size":1148,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-26T12:14:12.783Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"mattupstate/flask-principal","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hyde.png","metadata":{"files":{"readme":"README.markdown","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":"2012-10-31T13:34:02.000Z","updated_at":"2018-11-28T11:04:57.000Z","dependencies_parsed_at":"2022-09-09T13:41:00.167Z","dependency_job_id":null,"html_url":"https://github.com/hyde/trans","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hyde/trans","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyde%2Ftrans","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyde%2Ftrans/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyde%2Ftrans/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyde%2Ftrans/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hyde","download_url":"https://codeload.github.com/hyde/trans/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyde%2Ftrans/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33092075,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-11T07:20:59.477Z","updated_at":"2026-05-16T05:40:48.553Z","avatar_url":"https://github.com/hyde.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"A simple hyde website derived from the BASIC layout\nthat provides support for a multilingual site.\n\n# Setup\n\n```\nmkvirtualenv hyde --no-site-packages\npip install -r requirements.txt\n```\n\n# Working\n\n```\n# Generate the site\nhyde gen -r\n\n# Serve\nhyde serve\n```\n\n# Translations\n\nUses babel for translations.\n\nThis can be vastly improved. One of the major goals of\nhyde 1.0 is to make it absolutely simple to create\nmulti language sites. So, expect a lot of improvements\nin this area soon.\n\n## Extract\n\n```\npybabel extract -F babel.cfg -o strings/messages.pot .\n```\n\n\n## Initialize\n\nUsing the `ru` locale as an example:\n\n```\npybabel init -l ru -i strings/messages.pot -d .\n```\n\nNow you can edit the catalog file at `./strings/ru/LC_MESSAGES/messages.po`\n\n## Compile\n\n```\npybabel compile -f -d ./strings\n```\n\n## Update from template\n\n```\npybabel update -i ./strings/messages.pot -d ./strings\n```\n\n# References\n\n1. [Jinja2 Translations](http://jinja.pocoo.org/docs/templates/#i18n-in-templates)\n2. [Jinja2 i18N](http://jinja.pocoo.org/docs/extensions/#i18n-extension)\n3. [Jinja2 Babel integration](http://jinja.pocoo.org/docs/integration/#babel-integration)\n4. [Babel](http://babel.edgewall.org/wiki/Documentation)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyde%2Ftrans","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhyde%2Ftrans","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyde%2Ftrans/lists"}