{"id":29696428,"url":"https://github.com/hugo-fixit/shortcode-missing-translation","last_synced_at":"2025-07-23T09:39:23.384Z","repository":{"id":303561518,"uuid":"1015897722","full_name":"hugo-fixit/shortcode-missing-translation","owner":"hugo-fixit","description":"A Hugo theme component with missing-translation shortcode.","archived":false,"fork":false,"pushed_at":"2025-07-08T08:00:57.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-08T09:19:48.182Z","etag":null,"topics":["hugo","i18n","shortcodes","theme-component"],"latest_commit_sha":null,"homepage":"https://fixit.lruihao.cn","language":"HTML","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/hugo-fixit.png","metadata":{"files":{"readme":"README.en.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,"zenodo":null},"funding":{"custom":["https://paypal.me/Lruihao"]}},"created_at":"2025-07-08T07:40:51.000Z","updated_at":"2025-07-08T08:07:19.000Z","dependencies_parsed_at":"2025-07-08T09:19:51.483Z","dependency_job_id":"69ad6ef8-3ac3-4579-a5bb-6fa4095dd5c8","html_url":"https://github.com/hugo-fixit/shortcode-missing-translation","commit_stats":null,"previous_names":["hugo-fixit/shortcode-missing-translation"],"tags_count":1,"template":false,"template_full_name":"hugo-fixit/component-skeleton","purl":"pkg:github/hugo-fixit/shortcode-missing-translation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugo-fixit%2Fshortcode-missing-translation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugo-fixit%2Fshortcode-missing-translation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugo-fixit%2Fshortcode-missing-translation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugo-fixit%2Fshortcode-missing-translation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hugo-fixit","download_url":"https://codeload.github.com/hugo-fixit/shortcode-missing-translation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugo-fixit%2Fshortcode-missing-translation/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266655853,"owners_count":23963557,"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-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["hugo","i18n","shortcodes","theme-component"],"created_at":"2025-07-23T09:39:22.579Z","updated_at":"2025-07-23T09:39:23.366Z","avatar_url":"https://github.com/hugo-fixit.png","language":"HTML","funding_links":["https://paypal.me/Lruihao"],"categories":[],"sub_categories":[],"readme":"\u003c!-- markdownlint-disable-file MD033 MD041 --\u003e\n\u003ch1 align=\"center\"\u003eshortcode-missing-translation | FixIt\u003c/h1\u003e\n\n\u003cimg width=\"810\" alt=\"image\" src=\"https://github.com/user-attachments/assets/a18d2888-0f5d-4c82-929e-c79b6465c04a\" /\u003e\n\u003cimg width=\"810\" alt=\"image\" src=\"https://github.com/user-attachments/assets/7868c724-8bbd-4336-b43d-4ed607019988\" /\u003e\n\n\u003cdiv align=\"center\" class=\"ignore\"\u003e\n  \u003cp\u003eTemporarily renders the translated content of the current page in the specified language when translation is missing.\u003c/p\u003e\n  \u003ca href=\"/README.md\"\u003e简体中文\u003c/a\u003e |\n  \u003ca href=\"https://fixit.lruihao.cn/zh-cn/ecosystem/hugo-fixit/shortcode-missing-translation/?lang=chinese_traditional\"\u003e繁體中文\u003c/a\u003e |\n  English |\n  \u003ca href=\"https://fixit.lruihao.cn/ecosystem/hugo-fixit/shortcode-missing-translation/?lang=french\"\u003eFrançais\u003c/a\u003e |\n  \u003ca href=\"https://fixit.lruihao.cn/ecosystem/hugo-fixit/shortcode-missing-translation/?lang=russian\"\u003eРусский язык\u003c/a\u003e |\n  \u003ca href=\"https://fixit.lruihao.cn/ecosystem/hugo-fixit/shortcode-missing-translation/?lang=spanish\"\u003eEspañol\u003c/a\u003e |\n  \u003ca href=\"https://fixit.lruihao.cn/ecosystem/hugo-fixit/shortcode-missing-translation/?lang=hindi\"\u003eहिन्दी\u003c/a\u003e |\n  \u003ca href=\"https://fixit.lruihao.cn/ecosystem/hugo-fixit/shortcode-missing-translation/?lang=german\"\u003edeutsch\u003c/a\u003e |\n  \u003ca href=\"https://fixit.lruihao.cn/ecosystem/hugo-fixit/shortcode-missing-translation/?lang=korean\"\u003e한국어\u003c/a\u003e |\n  \u003ca href=\"https://fixit.lruihao.cn/ecosystem/hugo-fixit/shortcode-missing-translation/?lang=japanese\"\u003eしろうと\u003c/a\u003e\n\u003c/div\u003e\n\n## Requirements\n\nApplicable to all Hugo themes.\n\n## Install Component\n\nThe installation method is the same as [installing a theme](https://fixit.lruihao.cn/documentation/installation/). There are several ways to install, choose one, Here are two mainstream ways.\n\n### Install as Hugo Module\n\nFirst make sure that your project itself is a [Hugo module](https://gohugo.io/hugo-modules/use-modules/#initialize-a-new-module).\n\nThen add this theme component to your `hugo.toml` configuration file:\n\n```toml\n[module]\n  [[module.imports]]\n    path = \"github.com/hugo-fixit/FixIt\"\n  [[module.imports]]\n    path = \"github.com/hugo-fixit/shortcode-missing-translation\"\n```\n\nOn the first start of Hugo it will download the required files.\n\nTo update to the latest version of the module run:\n\n```bash\nhugo mod get -u\nhugo mod tidy\n```\n\n### Install as Git Submodule\n\nClone [FixIt](https://github.com/hugo-fixit/FixIt) and this git repository into your theme folder and add it as submodules of your website directory.\n\n```bash\ngit submodule add https://github.com/hugo-fixit/FixIt.git themes/FixIt\ngit submodule add https://github.com/hugo-fixit/shortcode-missing-translation.git themes/shortcode-missing-translation\n```\n\nNext edit `hugo.toml` of your project and add this theme component to your themes:\n\n```toml\ntheme = [\"FixIt\", \"shortcode-missing-translation\"]\n```\n\n## Configuration\n\n```toml\n[gitInfo]\n  repo = \"https://github.com/hugo-fixit/docs\"\n  branch = \"main\"\n  # the content directory path relative to the root of the repository\n  dir = \"content\"\n```\n\n## Use Shortcode\n\nHere is an example of usage:\n\n```markdown\n{{\u003c missing-translation \u003e}}\n```\n\n\u003e [!TIP]\n\u003e Please ensure that there is at least one language translation available. If there are multiple language translations, the first one will be selected by default.\n\nOr, specify an existing translation language:\n\n```markdown\n{{\u003c missing-translation \"en\" \u003e}}\n```\n\n## References\n\n- [Develop Theme Components | FixIt](https://fixit.lruihao.cn/contributing/components/)\n- [How to Develop a Hugo Theme Component | FixIt](https://fixit.lruihao.cn/components/dev-component/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhugo-fixit%2Fshortcode-missing-translation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhugo-fixit%2Fshortcode-missing-translation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhugo-fixit%2Fshortcode-missing-translation/lists"}