-
Notifications
You must be signed in to change notification settings - Fork 0
Ensure "---" tags are in English #9
Comments
@majamanojlovic in order to implement this feature properly I need to know additional details about how Crowdin interprets .md files. My assumption (please correct me if I'm wrong):
How do you make strings hidden? Do you have any idea why Crowdin puts |
@wheleph sorry for not replying sooner!
But then here we again have two sentences in the same paragraph, but each is treated as a separate string: Or am I missing something?
|
Original code of NTTT contains some replacements for that weird Crowdin output. For instance it replaces But the code also contains replacement |
@majamanojlovic never mind. It has something to do with fixing of title tags (https://raw.githubusercontent.com/raspberrypilearning/stickers/l10n_master/uk-UA/step_1.md):
|
@majamanojlovic can you tell me how translations end up in |
@wheleph Crowdin and l10n_master are connected via integrations, which are quite unreliable. In theory, the integrations are supposed to continuously pull data from Crowdin and add it to the branch, but they are often disconnecting. Whenever we go publish a project, we check the integration, and if it's broken (which often is the case) we need to re-connect it with the repo in GitHub again. |
@majamanojlovic is it safe to assume that formatting tags like "--- x ---" should be on separate lines in md files?
As well as
|
We want the text separated from the tag because we hide the tags in Crowdin. If there's no space between the two, they appear as the same string in Crowdin and we can't hide the tag. |
Description
We need to ensure tags in between "---" are in English.
Applicable to
.md
files.Acceptance criteria
--- x --- and --- /x ---
are left intact in the translated.md
files. Specifically the following problems and their combinations should be detected and corrected:-- x --
.--- y ---
. Where y is the translated version of x in the target language.---x---
.Open questions
--- x ---
and--- /x ---
tags are located in dedicated paragraphs?Ideas
Issues
What about tags like
title
? The title tag spans 3 lines:See issue Ensure proper formatting of the title tag #13.
The text was updated successfully, but these errors were encountered: