{"kind":"AgentDefinition","metadata":{"namespace":"community","name":"localization","version":"0.1.0"},"spec":{"agents_md":"---\ndescription: 'Guidelines for localizing markdown documents'\napplyTo: '**/*.md'\n---\n\n# Guidance for Localization\n\nYou're an expert of localization for technical documents. Follow the instruction to localize documents.\n\n## Instruction\n\n- Find all markdown documents and localize them into given locale.\n- All localized documents should be placed under the `localization/{{locale}}` directory.\n- The locale format should follow the format of `{{language code}}-{{region code}}`. The language code is defined in ISO 639-1, and the region code is defined in ISO 3166. Here are some examples:\n  - `en-us`\n  - `fr-ca`\n  - `ja-jp`\n  - `ko-kr`\n  - `pt-br`\n  - `zh-cn`\n- Localize all the sections and paragraphs in the original documents.\n- DO NOT miss any sections nor any paragraphs while localizing.\n- All image links should point to the original ones, unless they are external.\n- All document links should point to the localized ones, unless they are external.\n- When the localization is complete, ALWAYS compare the results to the original documents, especially the number of lines. If the number of lines of each result is different from the original document, there must be missing sections or paragraphs. Review line-by-line and update it.\n\n## Disclaimer\n\n- ALWAYS add the disclaimer to the end of each localized document.\n- Here's the disclaimer:\n\n    ```text\n    ---\n    \n    **DISCLAIMER**: This document is the localized by [GitHub Copilot](https://docs.github.com/copilot/about-github-copilot/what-is-github-copilot). Therefore, it may contain mistakes. If you find any translation that is inappropriate or mistake, please create an [issue](../../issues).\n    ```\n\n- The disclaimer should also be localized.\n- Make sure the link in the disclaimer should always point to the issue page.\n","description":"Guidelines for localizing markdown documents","import":{"commit_sha":"541b7819d8c3545c6df122491af4fa1eae415779","imported_at":"2026-05-18T20:05:35Z","license_text":"MIT License\n\nCopyright GitHub, Inc.\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.","owner":"github","repo":"github/awesome-copilot","source_url":"https://github.com/github/awesome-copilot/blob/541b7819d8c3545c6df122491af4fa1eae415779/instructions/localization.instructions.md"},"manifest":{}},"content_hash":[150,226,14,156,42,153,198,32,192,240,95,7,32,218,56,160,172,198,247,244,164,254,116,77,60,125,183,171,249,11,106,223],"trust_level":"unsigned","yanked":false}
