Opened 4 years ago

Last modified 3 years ago

#4489 closed change

Shorten <fix> translation string variable syntax in CMS — at Version 2

Reported by: juliandoucette Assignee:
Priority: Unknown Milestone:
Module: Sitescripts Keywords:
Cc: kvas, fhd, saroyanm, trev, lisabielik Blocked By:
Blocking: Platform: Unknown / Cross platform
Ready: no Confidential: no
Tester: Unknown Verified working: no
Review URL(s):

Description (last modified by juliandoucette)


We surround all brand names and numbers within translated strings in our CMS with <fix> tags so that they appear as variables within crowdin.

Although this is effective, it is inconvenient because:

  • It requires HTML syntax inside of Markdown
  • It is awkward to type repetitively

What to change

Suggestion 1

Convert all markdown pre tags (created by surrounding text with a single backtick) into translation string variables.

  • because <pre> is almost always semantically incorrect (in favour of <code>, <samp>, <kbd>, etc)
  • because content within <pre> is almost always not translatable

Suggestion 2

Convert all (insert some combination of one or two non-shift characters) into translation string variables.


It would be best not to break backwards compatibility if this change is accepted.

Change History (2)

comment:1 Changed 4 years ago by juliandoucette

  • Description modified (diff)

comment:2 Changed 4 years ago by juliandoucette

  • Description modified (diff)
Note: See TracTickets for help on using tickets.