Overview
Some placeholders are optional by default upon uploading onto our platform to:
- Preserve flexibility
- Allow warning notifications to translators that they might need to use the placeholder/placeholders are typed incorrectly
List of optional placeholders
Here is the list of placeholders that are set to optional by default:
- Message format - single layer of MessageFormat pattern
- HTML formatting tags - e.g. <strong></strong>, <br/>
- <b> Bold
- <strong> Important
- <i> Italic
- <em> Emphasized
- <mark> Marked
- <small> Small
- <del> Deleted
- <ins> Inserted
- <sub> Subscript
- <sup> Superscript
- HTML entities (e.g. , ’)
- Placeholders (%d and %s) in plural strings (see below)
OneSky only supports the exact match of placeholders but does not support translatable pattern matching. Identified translatable patterns are treated as optional placeholders to preserve functionalities of click to copy while allowing the content to change.
Plural string placeholders
Placeholders in plural strings are automatically set as optional because the required placeholder functionality is too strict for plural strings. Let's take the following plural string as an example:
one: %d book
other: %d books
If %d was required, the plural form "one" can only be translated to "1 livre" in French. This will restrict translations if the translator preferred "a book", or "un livre" in French.
OneSky also will not check placeholders by the plural form due to the following reasons:
- The plural forms of the same name, say "one", are defined differently across different languages.
- Plural forms do not exist in all languages, and for some such as from Chinese to English or English to Russian, there will be no plural form to reference from.
Comments
6 comments
Infinite Yield is a Roblox Admin script with many advanced commands to exploit Roblox game. Infinite Yield gives you the ultimate control over your gameplay and the ability to climb the ranks. But it’s not just a script.
The best thing about Infinite Yield script is that it can be easily customized to your liking. Using this script, there will be no limitations on how many items you can gathered through Infinite Yield script.
This is really post i must say
Define Placeholder Rules:
Regular Expressions or Patterns:
Thanks and regards
Myecp Login
YolandaRosa
Thank you for the detailed overview regarding optional placeholders. I appreciate the explanation of how placeholders preserve flexibility and assist translators. The information about handling plural string placeholders and HTML formatting tags is particularly helpful.
Thanks,
Uno
Your comprehensive summary of the topic of optional placeholders is really appreciated. The description of how placeholders help translators and maintain flexibility is quite helpful. I found the section on HTML formatting tags and plural string placeholders to be quite useful.
https://googlebaseball.io
Hello,
Flexibility: Allows for variations in translation without strict placeholder matching.
Translator Awareness: Provides warnings to translators about potentially missing or incorrect placeholders.
Click-to-Copy Functionality: Preserves the ability to copy text even with translatable patterns.
Best Regards
vanila164
hctra org
Locksmith Wakefield
OneSky also will not check placeholders by the plural form due to the following reasons:
Please sign in to leave a comment.