{"id":15057043,"url":"https://github.com/mondeja/mkdocs-mdpo-plugin","last_synced_at":"2025-07-09T05:04:43.512Z","repository":{"id":38086254,"uuid":"361788742","full_name":"mondeja/mkdocs-mdpo-plugin","owner":"mondeja","description":"Mkdocs translation plugin using PO files.","archived":false,"fork":false,"pushed_at":"2024-06-10T11:29:51.000Z","size":915,"stargazers_count":10,"open_issues_count":16,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-04T08:47:10.910Z","etag":null,"topics":["i18n","internationalization","markdown","mdpo","mkdocs","plugin","po","python","translation"],"latest_commit_sha":null,"homepage":"https://mondeja.github.io/mkdocs-mdpo-plugin/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mondeja.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":"2021-04-26T14:53:13.000Z","updated_at":"2025-07-02T15:00:12.000Z","dependencies_parsed_at":"2024-02-29T15:31:16.863Z","dependency_job_id":"ec113d36-a128-4608-9a70-5182d8972ee4","html_url":"https://github.com/mondeja/mkdocs-mdpo-plugin","commit_stats":{"total_commits":106,"total_committers":3,"mean_commits":"35.333333333333336","dds":"0.037735849056603765","last_synced_commit":"50ee3677aa58b896ed884f5d235a8138484d6ff2"},"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"purl":"pkg:github/mondeja/mkdocs-mdpo-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mondeja%2Fmkdocs-mdpo-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mondeja%2Fmkdocs-mdpo-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mondeja%2Fmkdocs-mdpo-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mondeja%2Fmkdocs-mdpo-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mondeja","download_url":"https://codeload.github.com/mondeja/mkdocs-mdpo-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mondeja%2Fmkdocs-mdpo-plugin/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264396623,"owners_count":23601541,"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":["i18n","internationalization","markdown","mdpo","mkdocs","plugin","po","python","translation"],"created_at":"2024-09-24T22:01:14.895Z","updated_at":"2025-07-09T05:04:43.485Z","avatar_url":"https://github.com/mondeja.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mkdocs-mdpo-plugin\n\n[![PyPI version](https://img.shields.io/pypi/v/mkdocs-mdpo-plugin?label=version)](https://pypi.org/project/mkdocs-mdpo-plugin)\n[![Downloads](https://img.shields.io/pypi/dm/mkdocs-mdpo-plugin)](https://pypistats.org/packages/mkdocs-mdpo-plugin)\n[![Test](https://img.shields.io/github/workflow/status/mondeja/mkdocs-mdpo-plugin/CI?label=tests\u0026logo=github)](https://github.com/mondeja/mkdocs-mdpo-plugin/actions?query=workflow%3ACI)\n[![Documentation](https://img.shields.io/github/workflow/status/mondeja/mkdocs-mdpo-plugin/Github%20Pages?label=docs\u0026logo=github)](https://mkdocs-mdpo.ga)\n[![Cloudflare DNS](https://img.shields.io/github/workflow/status/mondeja/mkdocs-mdpo-plugin/website-check?label=dns\u0026logo=cloudflare\u0026logoColor=white)](https://github.com/mondeja/mkdocs-mdpo-plugin/actions/workflows/website-check.yml)\n\n\u003c!--description-start--\u003e\n\nTranslations for Mkdocs using PO files, fully customizable.\nCompatible with [mkdocs-material](https://squidfunk.github.io/mkdocs-material),\nbased on [mdpo][mdpo-docs].\n\n\u003c!--description-end--\u003e\n\n## Documentation: [en](https://mkdocs-mdpo.ga) - [es](https://mkdocs-mdpo.ga/es/)\n\n\u003c!--intro-start--\u003e\n\n## Install\n\n```\npip install mkdocs-mdpo-plugin\n```\n\n## Usage\n\nEnable the plugin in your `mkdocs.yml`:\n\n```yaml\nplugins:\n  - mdpo\n```\n\n### Minimal configuration\n\n#### With [mkdocs-material](https://squidfunk.github.io/mkdocs-material)\n\n```yaml\ntheme:\n  name: material\n  language: en\n\nextra:\n  alternate:\n    - name: English\n      lang: en\n    - name: Español\n      link: es\n      lang: es\n\nplugins:\n  - mdpo\n```\n\n#### Standalone\n\n\u003c!-- mdpo-include-codeblock --\u003e\n```yaml\nplugins:\n  - mdpo:\n      languages:\n        - en     # first language is the original\n        - es\n```\n\nBoth previous configurations will create the same layout of files building the\ndocumentation. Given the next layout in a `docs/` directory:\n\n```\n📁 docs\n└── 📄 index.md\n```\n\nAfter the build, you will get:\n\n```\n📁 docs\n├── 📁 es\n│   └── 📄 index.md.po\n└── 📄 index.md\n```\n\nJust translate the strings in `docs/es/index.md.po` into Spanish, build again\nwith `mkdocs build` and the `site/` directory will look like:\n\n```\n📁 site\n├── 📄 404.html\n├── 📁 assets\n│   ├── 📁 images\n│   ├── 📁 javascripts\n│   └── 📁 stylesheets\n├── 📁 es\n│   └── 📄 index.html\n├── 📄 index.html\n├── 📄 sitemap.xml\n└── 📄 sitemap.xml.gz\n```\n\n\u003c!--intro-end--\u003e\n\nSimple and easy. The extraction of messages process and the produced\nlayout are fully customizable, you can even translate code blocks!\n[Check the full documentation here](https://mkdocs-mdpo.ga).\n\n[mdpo-docs]: https://mondeja.github.io/mdpo/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmondeja%2Fmkdocs-mdpo-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmondeja%2Fmkdocs-mdpo-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmondeja%2Fmkdocs-mdpo-plugin/lists"}