New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Have the option of disabling parameter checking for a project #1488
Comments
Hey what syntax format are you using? I think the syntax highlighting in this case works basically "by accident". We highlight syntax for ICU message format which is using slightly different format for parameters ( We have a long term plan to support more formats than just ICU, but currently it's problematic. Easiest solution currently for us would be to add an checkbox to disable highlighting per project. |
Ahh I see thanks @stepan662 . Yes, I'm using "dollar" syntax which is common to XLSForms (see https://xlsform.org/en/#relevant and where it says
which is the same as Apache "string substitutor" syntax: This allows my DSL end users to have a common way of injecting other text into the survey questions that are understood by many data collection platforms. I had assumed the ICU syntax highlighting was "smart" and comparing the variable name across translations, didn't realize it was just the presence of |
This issue is stale because it has been open for 30 days with no activity. |
Continued in #1574 |
... or improve it to recognize embedded language codes.
In our reference text, we have variables like
${foo}
and it's awesome that Tolgee is aware of those and helps warn translators. However, in our case, we also have localized variables, so we do${foo_es-ES}
if the Spanish variable should be injected. Translators are now getting warned if they change from${foo_es-ES}
to${foo_es-MX}
as they should (because they changed the variable name.The warnings they get now is confusing to them and they think they did something wrong.
Can we either:
The text was updated successfully, but these errors were encountered: