L10n:Teams:tl/Style Guide: Difference between revisions

→‎Units and Grammar: wiki code cleanup
(→‎Formality and Tone: grammar correction)
(→‎Units and Grammar: wiki code cleanup)
Line 100: Line 100:
=== <span class="c3">Units and Grammar</span> ===
=== <span class="c3">Units and Grammar</span> ===


<span>Many elements of unit or grammar do not exist or apply to all languages. If you find one of these elements that does not apply to your language, please remove it from your style guide. For those definitions of units and grammar that apply document the reference used or how it will be applied to the translation.</span>
Many elements of unit or grammar do not exist or apply to all languages. If you find one of these elements that does not apply to your language, please remove it from your style guide. For those definitions of units and grammar that apply document the reference used or how it will be applied to the translation.


<span>The translation should strive to achieve proper unit conversions for currency, measurements, etc. for the target audience.</span>
The translation should strive to achieve proper unit conversions for currency, measurements, etc. for the target audience.


* <span>Date</span>
* Date
** <span>Calendar / Era: Roman / Christian (Anno Domini, AD)</span>
** Calendar / Era: Roman / Christian (Anno Domini, AD)
** <span>Name of Days:</span>
** Name of Days:
*** <span>Monday</span>
*** Monday
*** <span>Tuesday</span>
*** Tuesday
*** <span>Wednesday</span>
*** Wednesday
*** <span>Thursday</span>
*** Thursday
*** <span>Friday</span>
*** Friday
*** <span>Saturday</span>
*** Saturday
*** <span>Sunday</span>
*** Sunday


** <span>Short Name of Days:</span>
** Short Name of Days:
*** <span>Mon</span>
*** Mon
*** <span>Tue</span>
*** Tue
*** <span>Wed</span>
*** Wed
*** <span>Thu</span>
*** Thu
*** <span>Fri</span>
*** Fri
*** <span>Sat</span>
*** Sat
*** <span>Sun</span>
*** Sun


** <span>Name of Months:</span>
** Name of Months:
*** <span>January</span>
*** January
*** <span>February</span>
*** February
*** <span>March</span>
*** March
*** <span>April</span>
*** April
*** <span>May</span>
*** May
*** <span>June</span>
*** June
*** <span>July</span>
*** July
*** <span>August</span>
*** August
*** <span>September</span>
*** September
*** <span>October</span>
*** October
*** <span>November</span>
*** November
*** <span>December</span>
*** December


* <span>Short Name of Months:</span>
** Short Name of Months:
*** <span>Jan</span>
*** Jan
*** <span>Feb</span>
*** Feb
*** <span>Mar</span>
*** Mar
*** <span>Apr</span>
*** Apr
*** <span>May</span>
*** May
*** <span>Jun</span>
*** Jun
*** <span>Jul</span>
*** Jul
*** <span>Aug</span>
*** Aug
*** <span>Sep</span>
*** Sep
*** <span>Oct</span>
*** Oct
*** <span>Nov</span>
*** Nov
*** <span>Dec</span>
*** Dec


** <span>Year Format: English</span>
** Year Format: English


** <span>Default Short Date Format: MM-dd-yyyy</span>
** Default Short Date Format: MM-dd-yyyy


** <span>Currency</span>
** Currency
*** <span>Symbol: PHP</span>
*** Symbol: PHP
*** <span>Format: PHP x,xxx.xx</span>
*** Format: PHP x,xxx.xx


** <span>Time</span>
** Time
*** <span>Time Format: English</span>
*** Time Format: English
*** <span>24-hour Format: NO (12-hour format)</span>
*** 24-hour Format: NO (12-hour format)
*** <span>Time Separator: colon (:)</span>
*** Time Separator: colon (:)
*** <span>String for AM Designator: AM</span>
*** String for AM Designator: AM
*** <span>String for PM Designator: PM</span>
*** String for PM Designator: PM
*** <span>Century: use "ika-" followed by the number</span>
*** Century: use "ika-" followed by the number
**** <span>e.g. ika-21</span>
**** e.g. ika-21


** <span>Number</span>
** Number
*** <span>When written as English Roman Numeral: as is.</span>
*** When written as English Roman Numeral: as is.
*** <span>When used as part of a sentence (spelled-out) or as an ordinal number: Translate to Tagalog</span>
*** When used as part of a sentence (spelled-out) or as an ordinal number: Translate to Tagalog
*** <span>Examples:</span>
*** Examples:
**** <span>[EN] Close one tab.</span> | <span>[TL] Isara ang isang tab.</span>
**** [EN] Close one tab. | [TL] Isara ang isang tab.
**** <span>[EN] Close the second tab.</span> | <span>[TL] Isara ang pangalawang tab.</span>
**** [EN] Close the second tab. | [TL] Isara ang pangalawang tab.
*** <span>When written as part of a telephone number: as is.</span>
*** When written as part of a telephone number: as is.


** <span>Addresses</span>
** Addresses
*** <span>Country / Region:</span>
*** Country / Region:
*** <span>[EN] Republic of the Philippines | [TL] Republika ng Pilipinas</span>
*** [EN] Republic of the Philippines | [TL] Republika ng Pilipinas
*** <span>[EN] The Philippines | [TL] Pilipinas</span>
*** [EN] The Philippines | [TL] Pilipinas
*** <span>Address Format:</span>
*** Address Format:


* <span>House or Building Number</span>
* House or Building Number
* <span>Building Name</span>
* Building Name
* <span>Street Name</span>
* Street Name
* <span>Village or Subdivision Name</span>
* Village or Subdivision Name
* <span>Barangay Name</span>
* Barangay Name
* <span>City or Town Name</span>
* City or Town Name
* <span>Province Name</span>
* Province Name
* <span>Postal Code</span>
* Postal Code


* <span>Measurement Units</span>
* Measurement Units


* <span>Follow the rules on how to translate numbers</span>
* Follow the rules on how to translate numbers


* <span>Percentages</span>
* Percentages


* <span>The Tagalog language follows the English rules for percentages. In Mozilla localization, the percentage symbol (%) is frequently used a placeholder. DO NOT modify or remove placeholders. Follow general software localization guidelines and rules.</span>
* The Tagalog language follows the English rules for percentages. In Mozilla localization, the percentage symbol (%) is frequently used a placeholder. DO NOT modify or remove placeholders. Follow general software localization guidelines and rules.


==== <span class="c18">Spelling And Grammar Checks</span> ====
==== <span class="c18">Spelling And Grammar Checks ====


<span>Many languages have national or international standards that define spelling and grammar rules. When defining these rules for your community, make reference to those standards wherever possible. Do you have automated tests for spell checking and grammar? List those tools and dictionaries here and how regularly they should be used.</span>
Many languages have national or international standards that define spelling and grammar rules. When defining these rules for your community, make reference to those standards wherever possible. Do you have automated tests for spell checking and grammar? List those tools and dictionaries here and how regularly they should be used.


===== <span class="c7">Tense</span> =====
===== <span class="c7">Tense =====


<span>Do you have standards for verb forms that indicate or express the time, such as past, present, or future, of the action or state? What is your policy on tense consistency for certain use cases? For example, for phrases that ask a user to make an action (like "Download Firefox"), do you use a future tense, a command tense, or a neutral tense? (See:</span><span class="c11">[https://www.google.com/url?q=https://en.wikipedia.org/wiki/Grammatical_tense&sa=D&ust=1472368742769000&usg=AFQjCNHLEloSZGXKIPhNxDWwZ6qFwSEoKg  ]</span><span class="c5">[https://www.google.com/url?q=https://en.wikipedia.org/wiki/Grammatical_tense&sa=D&ust=1472368742770000&usg=AFQjCNEtbaKcdsd1YFhRgvHZW-8NqTkIgg https://en.wikipedia.org/wiki/Grammatical_tense]</span><span> )</span>
Do you have standards for verb forms that indicate or express the time, such as past, present, or future, of the action or state? What is your policy on tense consistency for certain use cases? For example, for phrases that ask a user to make an action (like "Download Firefox"), do you use a future tense, a command tense, or a neutral tense? (See:<span class="c11">[https://www.google.com/url?q=https://en.wikipedia.org/wiki/Grammatical_tense&sa=D&ust=1472368742769000&usg=AFQjCNHLEloSZGXKIPhNxDWwZ6qFwSEoKg  ]<span class="c5">[https://www.google.com/url?q=https://en.wikipedia.org/wiki/Grammatical_tense&sa=D&ust=1472368742770000&usg=AFQjCNEtbaKcdsd1YFhRgvHZW-8NqTkIgg https://en.wikipedia.org/wiki/Grammatical_tense] )


==== <span class="c18">Word Forms</span> ====
==== <span class="c18">Word Forms ====


===== <span class="c7">Pluralization </span> =====
===== <span class="c7">Pluralization =====


<span>What is the appropriate form of expressing pluralization in your language? List all forms of plural forms and examples if there is more than one. Additional discussions can be found Here.</span><span class="c11">[https://www.google.com/url?q=https://developer.mozilla.org/en-US/docs/Mozilla/Localization/Localization_and_Plurals&sa=D&ust=1472368742771000&usg=AFQjCNG1-YqLEhWzSt025YRtBYtqmyBlIg  ]</span><span class="c5">[https://www.google.com/url?q=https://developer.mozilla.org/en-US/docs/Mozilla/Localization/Localization_and_Plurals&sa=D&ust=1472368742772000&usg=AFQjCNGvxMWRxLS-eQbmiwxiXqnNr2F67A https://developer.mozilla.org/en-US/docs/Mozilla/Localization/Localization_and_Plurals]</span><span> and here:</span><span>[https://www.google.com/url?q=http://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html&sa=D&ust=1472368742772000&usg=AFQjCNFBhefoAVmSWn6bQuUoKAgH4lc36Q  ]</span><span class="c11">[https://www.google.com/url?q=http://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html&sa=D&ust=1472368742773000&usg=AFQjCNF6LbuExAGUJ0lLKYoaKrELCUJDoQ  ]</span><span class="c5">[https://www.google.com/url?q=http://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html&sa=D&ust=1472368742773000&usg=AFQjCNF6LbuExAGUJ0lLKYoaKrELCUJDoQ http://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html]</span>
What is the appropriate form of expressing pluralization in your language? List all forms of plural forms and examples if there is more than one. Additional discussions can be found Here.<span class="c11">[https://www.google.com/url?q=https://developer.mozilla.org/en-US/docs/Mozilla/Localization/Localization_and_Plurals&sa=D&ust=1472368742771000&usg=AFQjCNG1-YqLEhWzSt025YRtBYtqmyBlIg  ]<span class="c5">[https://www.google.com/url?q=https://developer.mozilla.org/en-US/docs/Mozilla/Localization/Localization_and_Plurals&sa=D&ust=1472368742772000&usg=AFQjCNGvxMWRxLS-eQbmiwxiXqnNr2F67A https://developer.mozilla.org/en-US/docs/Mozilla/Localization/Localization_and_Plurals] and here:[https://www.google.com/url?q=http://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html&sa=D&ust=1472368742772000&usg=AFQjCNFBhefoAVmSWn6bQuUoKAgH4lc36Q  ]<span class="c11">[https://www.google.com/url?q=http://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html&sa=D&ust=1472368742773000&usg=AFQjCNF6LbuExAGUJ0lLKYoaKrELCUJDoQ  ]<span class="c5">[https://www.google.com/url?q=http://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html&sa=D&ust=1472368742773000&usg=AFQjCNF6LbuExAGUJ0lLKYoaKrELCUJDoQ http://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html]


* <span>Using "mga" for words using the common pluralization form:</span>
* Using "mga" for words using the common pluralization form:


* <span>Example:</span>
* Example:


<span>Letters</span>
Letters


<span>Mga letra</span>
Mga letra


===== <span class="c18">Abbreviations</span> =====
===== <span class="c18">Abbreviations =====


<span class="c7"><br /></span><span>How are abbreviations expressed in your language?</span>
<span class="c7"><br />How are abbreviations expressed in your language?


<span>Example, in English, abbreviations are made by removing most vowels and only using the first 3-5 consonants followed by a period (e.g., abbreviation = abbr.). (see:</span><span class="c11">[https://www.google.com/url?q=https://en.wikipedia.org/wiki/Abbreviation%29&sa=D&ust=1472368742776000&usg=AFQjCNE1ZPIb_yC6V2cN96lvkVUjuak_7Q Â ]</span><span class="c5">[https://www.google.com/url?q=https://en.wikipedia.org/wiki/Abbreviation%29&sa=D&ust=1472368742776000&usg=AFQjCNE1ZPIb_yC6V2cN96lvkVUjuak_7Q https://en.wikipedia.org/wiki/Abbreviation)]</span>
Example, in English, abbreviations are made by removing most vowels and only using the first 3-5 consonants followed by a period (e.g., abbreviation = abbr.). (see:<span class="c11">[https://www.google.com/url?q=https://en.wikipedia.org/wiki/Abbreviation%29&sa=D&ust=1472368742776000&usg=AFQjCNE1ZPIb_yC6V2cN96lvkVUjuak_7Q Â ]<span class="c5">[https://www.google.com/url?q=https://en.wikipedia.org/wiki/Abbreviation%29&sa=D&ust=1472368742776000&usg=AFQjCNE1ZPIb_yC6V2cN96lvkVUjuak_7Q https://en.wikipedia.org/wiki/Abbreviation)]


<span>If your language does not have a standard way of expressing abbreviations, do you simply leave them in English?</span>
If your language does not have a standard way of expressing abbreviations, do you simply leave them in English?


===== <span class="c7">Acronyms</span> =====
===== <span class="c7">Acronyms =====


<span>Are there standard translations of widely accepted acronyms such as CD, DVD, MB in your language? If not, do they remain in English? (see:</span><span class="c11">[https://www.google.com/url?q=https://en.wikipedia.org/wiki/Acronym&sa=D&ust=1472368742777000&usg=AFQjCNE-Qr_Dz_9W_GoGSA5hqh_AWCHm1g  ]</span><span class="c5">[https://www.google.com/url?q=https://en.wikipedia.org/wiki/Acronym&sa=D&ust=1472368742778000&usg=AFQjCNFbky7piCh_jQ_Weth9mIyJwlCytg https://en.wikipedia.org/wiki/Acronym]</span><span> )</span>
Are there standard translations of widely accepted acronyms such as CD, DVD, MB in your language? If not, do they remain in English? (see:<span class="c11">[https://www.google.com/url?q=https://en.wikipedia.org/wiki/Acronym&sa=D&ust=1472368742777000&usg=AFQjCNE-Qr_Dz_9W_GoGSA5hqh_AWCHm1g  ]<span class="c5">[https://www.google.com/url?q=https://en.wikipedia.org/wiki/Acronym&sa=D&ust=1472368742778000&usg=AFQjCNFbky7piCh_jQ_Weth9mIyJwlCytg https://en.wikipedia.org/wiki/Acronym] )


===== <span class="c7">Punctuation</span> =====
===== <span class="c7">Punctuation =====


<span>Follows universal standard.</span>
Follows universal standard.


===== <span class="c7">Emphasis</span> =====
===== <span class="c7">Emphasis =====


<span>Is there an international/national standard for capitalization in your language?</span>
Is there an international/national standard for capitalization in your language?


<span>If so, do those standard rules apply in all product translations?</span>
If so, do those standard rules apply in all product translations?


<span>If this doesn't apply, how do you indicate importance or name of a movie, book title, product UIs (</span><span class="c12">S</span><span>ave, </span><span class="c12">F</span><span>ile...) in your language?</span>
If this doesn't apply, how do you indicate importance or name of a movie, book title, product UIs (<span class="c12">Save, <span class="c12">File...) in your language?


<span>How does your language handle the use of bold, italic, or underline types to express emphasis?  ( See:</span><span class="c11">[https://www.google.com/url?q=https://en.wikipedia.org/wiki/Italic_type&sa=D&ust=1472368742781000&usg=AFQjCNHu3xzFE-eVp6h4Ux6imjYLxbZ44w  ]</span><span class="c5">[https://www.google.com/url?q=https://en.wikipedia.org/wiki/Italic_type&sa=D&ust=1472368742782000&usg=AFQjCNF5J0SQ4spmqF7tSuOlDk6-iDfAWQ https://en.wikipedia.org/wiki/Italic_type]</span><span> )</span>
How does your language handle the use of bold, italic, or underline types to express emphasis?  ( See:<span class="c11">[https://www.google.com/url?q=https://en.wikipedia.org/wiki/Italic_type&sa=D&ust=1472368742781000&usg=AFQjCNHu3xzFE-eVp6h4Ux6imjYLxbZ44w  ]<span class="c5">[https://www.google.com/url?q=https://en.wikipedia.org/wiki/Italic_type&sa=D&ust=1472368742782000&usg=AFQjCNF5J0SQ4spmqF7tSuOlDk6-iDfAWQ https://en.wikipedia.org/wiki/Italic_type] )


===== <span class="c7">Hyphens and compounds</span> =====
===== <span class="c7">Hyphens and compounds =====


<span>What is the appropriate way of using hyphens and compounds in your language? (</span><span class="c11">[https://www.google.com/url?q=https://en.wikipedia.org/wiki/Compound_%28linguistics%29&sa=D&ust=1472368742783000&usg=AFQjCNFn_qwDyh4ef2oMxGzW1YRqf_MpqA]</span><span class="c5">[https://www.google.com/url?q=https://en.wikipedia.org/wiki/Compound_%28linguistics%29&sa=D&ust=1472368742784000&usg=AFQjCNE0f1xdl2wqEQtFGxlMC67LFz7Maw https://en.wikipedia.org/wiki/Compound_(linguistics)]</span>)
What is the appropriate way of using hyphens and compounds in your language? (<span class="c11">[https://www.google.com/url?q=https://en.wikipedia.org/wiki/Compound_%28linguistics%29&sa=D&ust=1472368742783000&usg=AFQjCNFn_qwDyh4ef2oMxGzW1YRqf_MpqA]<span class="c5">[https://www.google.com/url?q=https://en.wikipedia.org/wiki/Compound_%28linguistics%29&sa=D&ust=1472368742784000&usg=AFQjCNE0f1xdl2wqEQtFGxlMC67LFz7Maw https://en.wikipedia.org/wiki/Compound_(linguistics)])


===== <span class="c7">Prepositions and articles</span> =====
===== <span class="c7">Prepositions and articles =====


<span>What is the appropriate form of expressing prepositions and articles in your language?</span>
What is the appropriate form of expressing prepositions and articles in your language?


===== <span class="c7">Diacritics and Special characters </span> =====
===== <span class="c7">Diacritics and Special characters =====


<span>most used special character is “ñ”</span>
most used special character is “ñ”


===== <span class="c7">Quotes </span> =====
===== <span class="c7">Quotes =====


<span>Universal Standard for quotes and brackets.</span>
Universal Standard for quotes and brackets.


===== <span class="c7">Whitespace</span> =====
===== <span class="c7">Whitespace =====


<span>Does your language require the use of white space around words, sentences, paragraphs, etc.? If so, in what ways? (see:</span><span class="c11">[https://www.google.com/url?q=https://en.wikipedia.org/wiki/Sentence_spacing_in_language_and_style_guides&sa=D&ust=1472368742789000&usg=AFQjCNF2HvBWhjpaPdtqzGxAwgPVwX8AJQ]</span><span class="c5">[https://www.google.com/url?q=https://en.wikipedia.org/wiki/Sentence_spacing_in_language_and_style_guides&sa=D&ust=1472368742790000&usg=AFQjCNG8ehR5S8E2LPPRcxy7tg8A4SGk4Q https://en.wikipedia.org/wiki/Sentence_spacing_in_language_and_style_guides]</span>)
Does your language require the use of white space around words, sentences, paragraphs, etc.? If so, in what ways? (see:<span class="c11">[https://www.google.com/url?q=https://en.wikipedia.org/wiki/Sentence_spacing_in_language_and_style_guides&sa=D&ust=1472368742789000&usg=AFQjCNF2HvBWhjpaPdtqzGxAwgPVwX8AJQ]<span class="c5">[https://www.google.com/url?q=https://en.wikipedia.org/wiki/Sentence_spacing_in_language_and_style_guides&sa=D&ust=1472368742790000&usg=AFQjCNG8ehR5S8E2LPPRcxy7tg8A4SGk4Q https://en.wikipedia.org/wiki/Sentence_spacing_in_language_and_style_guides])


===== <span class="c7">User Interface Elements</span> =====
===== <span class="c7">User Interface Elements =====


<span>— Titles : Should be brief and precise. Localizers can assume that source content reaches 2/3 of the total available line space. This allows localization text to expand and not be truncated or resolved through ellipsis. Title on the final page (meaning no more click through) should allow enough room to display full text.</span>
— Titles : Should be brief and precise. Localizers can assume that source content reaches 2/3 of the total available line space. This allows localization text to expand and not be truncated or resolved through ellipsis. Title on the final page (meaning no more click through) should allow enough room to display full text.


<span>— Buttons: Capitalize the first letter of each word. Limit to one or two words. Use verbs that precisely describe the button's action. For example, "Cancel", "Clear History", "Add Email", "Select All", etc.</span>
— Buttons: Capitalize the first letter of each word. Limit to one or two words. Use verbs that precisely describe the button's action. For example, "Cancel", "Clear History", "Add Email", "Select All", etc.


<span>— Value Selector Lists: Capitalize the first letter of the first word and the first letter of any proper nouns. Limit to one or two words.</span>
— Value Selector Lists: Capitalize the first letter of the first word and the first letter of any proper nouns. Limit to one or two words.


<span>— Articles: Avoid them where possible. Articles (such as the word "the" in English) should be avoided wherever possible. User interface elements have limited space available for text. Avoiding articles will help ensure that your translations will be accommodated within the user interface.</span>
— Articles: Avoid them where possible. Articles (such as the word "the" in English) should be avoided wherever possible. User interface elements have limited space available for text. Avoiding articles will help ensure that your translations will be accommodated within the user interface.


<span>- Ellipsis: Ellipsis are often inserted automatically in the UI where strings are truncated. Ellipsis should only be used at high level of UI pages, but not be on the final page (after a series of click-through) where detailed instruction is given. Ellipsis should not be used as a way to solve truncation issue. Focus on making the UI short and precise. The sequence of the sentence structure in another language may not translate well, when a sentence is half finished as such.</span>
- Ellipsis: Ellipsis are often inserted automatically in the UI where strings are truncated. Ellipsis should only be used at high level of UI pages, but not be on the final page (after a series of click-through) where detailed instruction is given. Ellipsis should not be used as a way to solve truncation issue. Focus on making the UI short and precise. The sequence of the sentence structure in another language may not translate well, when a sentence is half finished as such.


== <span class="c17">General Mozilla l10n style</span> ==
== <span class="c17">General Mozilla l10n style</span> ==
Confirmed users
255

edits