{"id":1167,"date":"2017-08-13T14:32:54","date_gmt":"2017-08-13T14:32:54","guid":{"rendered":"http:\/\/blog.mozilla.org\/l10n\/?p=1167"},"modified":"2017-08-13T15:50:22","modified_gmt":"2017-08-13T15:50:22","slug":"l10n-style-guides-on-github","status":"publish","type":"post","link":"https:\/\/blog.mozilla.org\/l10n\/2017\/08\/13\/l10n-style-guides-on-github\/","title":{"rendered":"L10n Style Guides on GitHub"},"content":{"rendered":"<p id=\"magicdomid408\" class=\"ace-line\"><span class=\"author-a-5gnz66zz67zz81zrk2yu5z69zz83zz66zz88z\">When we began talking about style guides with localization communities at l10n hackathons, we suggested that the Mozilla Wiki was a good place to temporarily store them, until we could define a more centralized and accessible place for them, and that that place would most likely be GitHub. After a lot of research, we&#8217;ve created <a href=\"https:\/\/github.com\/mozilla-l10n\/styleguides\">GitHub repository<\/a><\/span> to host all of the Mozilla translation style guides, including community-specific ones. Any style guide that is referenced on a team&#8217;s contact page has been copied as a markdown file into this repository. The repository has been built with Gitbooks and the style guides can be accessed with greater readability and improved search capabilities.<\/p>\n<div><\/div>\n<p class=\"ace-line\"><span class=\"author-a-5gnz66zz67zz81zrk2yu5z69zz83zz66zz88z\">You may be wondering, &#8220;If the community style guides are already available and linked on team contact pages, why do we need this Git<\/span><span class=\"author-a-lz72zipaz66zlz78zjz83zz84zvz65zvrn\">H<\/span><span class=\"author-a-5gnz66zz67zz81zrk2yu5z69zz83zz66zz88z\">ub repository?&#8221; We understand this confusion and wish to address why the repository exists.\u00a0<\/span><\/p>\n<div><\/div>\n<p class=\"ace-line\"><span class=\"author-a-5gnz66zz67zz81zrk2yu5z69zz83zz66zz88z\">Recently, MDN underwent a major style and<a href=\"https:\/\/hacks.mozilla.org\/2017\/07\/the-mdn-redesign-behind-the-scenes\/\"> content change<\/a>. This meant that the General Localization Style Guide that was available on MDN needed to be assessed to determine what changes needed to be made or if MDN was even a good home for it. After considering alternatives and associated questions, such as &#8220;what about community-specific style guides&#8221;, we decided that we need to build a place easy to find for all style guides. Having this central repository for all style guides makes it easier to locate all of the style guides that have been created by each community. We don&#8217;t want the hard work to go to waste, that&#8217;s why we want to make these style guides accessible and link to them from the team&#8217;s page in Pontoon. This centralized repository helps us make sure we don&#8217;t miss any style guides.<\/span><\/p>\n<div><\/div>\n<p><span class=\"author-a-5gnz66zz67zz81zrk2yu5z69zz83zz66zz88z\">Currently, community style guides are hosted on a variety of sources and in a mix of formats. While this is not a problem in itself, these varied formats and sources can make it difficult to locate the style guides. Additionally, some of these sources stop hosting the style guide or the style guide may become obsolete for whatever reason. This is not exclusive to style guides hosted to non-Mozilla sources. <\/span><span class=\"author-a-lz72zipaz66zlz78zjz83zz84zvz65zvrn\">The wiki at <a href=\"http:\/\/mozilla.org\">mozilla.org<\/a> doesn&#8217;t represent a good home for this data<\/span><span class=\"author-a-5gnz66zz67zz81zrk2yu5z69zz83zz66zz88z\">, <\/span><span class=\"author-a-lz72zipaz66zlz78zjz83zz84zvz65zvrn\">for that reason we<\/span><span class=\"author-a-5gnz66zz67zz81zrk2yu5z69zz83zz66zz88z\"> have moved the General Localization Style Guide as well. Rather than lose the style guides currently hosted on the Mozilla Wiki, we decided to make copies of these style guides in the centralized Git<\/span><span class=\"author-a-lz72zipaz66zlz78zjz83zz84zvz65zvrn\">H<\/span><span class=\"author-a-5gnz66zz67zz81zrk2yu5z69zz83zz66zz88z\">ub Repository.<\/span><\/p>\n<div><\/div>\n<p class=\"ace-line\"><span class=\"author-a-5gnz66zz67zz81zrk2yu5z69zz83zz66zz88z\">These considerations aren&#8217;t new<span class=\"_Tgc\">\u2014<\/span>as you probably know from the past year&#8217;s workshops<span class=\"_Tgc\">\u2014<\/span>but they present an opportunity for us to make this change that will facilitate quality assurance and accessibility for our translation efforts.<\/span><\/p>\n<div><\/div>\n<p class=\"ace-line\"><span class=\"author-a-5gnz66zz67zz81zrk2yu5z69zz83zz66zz88z\">This brings up a few tasks for language communities that have a style guide or would like to add one to the repository:<\/span><\/p>\n<ol>\n<li id=\"magicdomid421\" class=\"ace-line\"><span class=\"author-a-5gnz66zz67zz81zrk2yu5z69zz83zz66zz88z\">Please check that your current community style guide is in the <a href=\"https:\/\/mozilla-l10n.github.io\/styleguides\">repository\u00a0<\/a>and that it is correct. It is possible that the style guide that was migrated to the repository is the wrong version or contains some errors from migration. If there are any errors in the style guide, please see number 2.<\/span><\/li>\n<li id=\"magicdomid15\"><span class=\"author-a-5gnz66zz67zz81zrk2yu5z69zz83zz66zz88z\">If you need to update\/correct or add a style guide to the repository, please update it in the Git<\/span><span class=\"author-a-lz72zipaz66zlz78zjz83zz84zvz65zvrn\">H<\/span><span class=\"author-a-5gnz66zz67zz81zrk2yu5z69zz83zz66zz88z\">ub repository. Git<\/span><span class=\"author-a-lz72zipaz66zlz78zjz83zz84zvz65zvrn\">H<\/span><span class=\"author-a-5gnz66zz67zz81zrk2yu5z69zz83zz66zz88z\">ub has<a href=\"https:\/\/help.github.com\/articles\/editing-files-in-another-user-s-repository\/\"> instructions\u00a0<\/a>on how to update a repository. Please follow these instructions to create a pull request. This pull request will be reviewed before being merged to the official style guides repository to try to maintain quality. In addition, each pull request should be reviewed by another member of the community as some of the repository administrators may not speak the language of the style guide.\u00a0<\/span><\/li>\n<\/ol>\n<p id=\"magicdomid145\" class=\"ace-line\"><span class=\"author-a-5gnz66zz67zz81zrk2yu5z69zz83zz66zz88z\">If there are any questions regarding the new repository or community style guides, please direct them to Kekoa kriggin@mozilla.com or <\/span><span class=\"author-a-lz72zipaz66zlz78zjz83zz84zvz65zvrn\">f<\/span><span class=\"author-a-5gnz66zz67zz81zrk2yu5z69zz83zz66zz88z\">lod at flodolo@mozilla.com.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>When we began talking about style guides with localization communities at l10n hackathons, we suggested that the Mozilla Wiki was a good place to temporarily store them, until we could &hellip; <a class=\"go\" href=\"https:\/\/blog.mozilla.org\/l10n\/2017\/08\/13\/l10n-style-guides-on-github\/\">Read more<\/a><\/p>\n","protected":false},"author":1498,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[295,199,610,12675],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.mozilla.org\/l10n\/wp-json\/wp\/v2\/posts\/1167"}],"collection":[{"href":"https:\/\/blog.mozilla.org\/l10n\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.mozilla.org\/l10n\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/l10n\/wp-json\/wp\/v2\/users\/1498"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/l10n\/wp-json\/wp\/v2\/comments?post=1167"}],"version-history":[{"count":0,"href":"https:\/\/blog.mozilla.org\/l10n\/wp-json\/wp\/v2\/posts\/1167\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.mozilla.org\/l10n\/wp-json\/wp\/v2\/media?parent=1167"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mozilla.org\/l10n\/wp-json\/wp\/v2\/categories?post=1167"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mozilla.org\/l10n\/wp-json\/wp\/v2\/tags?post=1167"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}