HTML-formatted tag in markdown file is not extracted

Issue #45 new
vickyhella created an issue

Content in the source markdown file (two situations) (my MD file uses HTML-formatted tags in the content, which need to be translated):

<Tabs> 

  <TabItem label="Apple"> 
  This is a sentence in tab Apple. 
  </TabItem> 

  <TabItem label="Orange"> 
  This is a sentence in tab Orange. 
  </TabItem> 

</Tabs>
<Tabs> 

  <TabItem value="Apple"> 
  This is a sentence in tab Apple. 
  </TabItem> 

  <TabItem value="Orange"> 
  This is a sentence in tab Orange. 
  </TabItem> 

</Tabs>

Expected result:

OmegaT should display the lines <TabItem label="Apple"> or <TabItem value="Orange">, as I need to translate Apple and Orange into another language.

Current result:

These lines are not displayed in OmegaT at all, and therefore, I need to translate these strings outside OmegaT after I generate the translation.

Attempts tried but failed:
In rainbow filter configurations:
1. I appended the following line to okf_html@test:

2. Referenced okf_html@test in okf_markdown_test:

3. Set okf_markdown_test in OmegaT for the okapi markdown filter.

4. I reopened OmegaT and it throws the following error:

My questions:

  1. What can I do to let OmegaT display these lines for translation?
  2. Have I configured the filters in OmegaT properly? Even if I don’t add the line in step 1 (meaning that I kept okf_html@test the same as okf_html) and perform the same steps, the error in step 4 still popped up.

Comments (2)

  1. Log in to comment