Auto-Substitution is aimed to increase the benefit of using the Translation Memory (TM) by suggesting translations with a higher similarity match. The feature substitutes the non-translatable elements (such as tags, HTML entities, placeholders, numbers and more) in translations suggested by TM by the ones used in the source strings.
Non-translatable Elements that can be Auto-substituted
Auto-substitution feature can substitute the following non-translatable elements:
|Non-translatable elements||Source string example||TM suggestion (German)||Improved TM suggestion|
|Tags||<b %s>Help</b>||<span>Hilfe<span>||<b %s>Hilfe</b>|
|HTML entities||Currency €||Währung ¥||Währung €|
|Escape sequences (\r\n, \r, \n, \t, unicode, hex)||Translation \x42||Übersetzung \u4242||Übersetzung \x42|
|Non-escaped equivalents of \r\n, \r, \n, \t||Translated by \n TM||Übersetzt von TM||Übersetzt von \n TM|
|Placeholders||Example %s||Beispiel %1$s||Beispiel %s|
|Numbers||Attempt 2||Versuchen 5||Versuchen 2|
|Letter case||Log in||einloggen||Einloggen|
|URLs||More Information: https://crowdin.com/page/tour||Weitere Infos: https://crowdin.com/||Weitere Infos: https://crowdin.com/page/tour|
To enable Auto-substitution feature, follow these steps:
- Go to Project Settings.
- Open tab.
- Scroll down to Translation Memory section.
- Select Enable Auto-Substitution checkbox.
Auto-substitution for Pre-translation
To pre-translate your project, follow these steps:
- Go to Project Settings, TM & MT tab.
- Click Pre-translate, via TM.
- Select the target languages and files to which pre-translation should be applied.
- Choose a minimum match ratio 100% (includes 100% TM matches and the ones improved to 100% by auto-substitution).
- Click Pre-Translate.
Auto-substitution for TM Suggestions
With Auto-substitution feature, translators would be able to see the improved TM suggestions in the Editor. The percentage below the improved suggestion shows the match percentage of the original TM suggestion and of the improved one.
Note: To configure the minimum similarity match of shown TM suggestions go to Editor Settings.
Once the feature is enabled it would influence the way the Costs Estimation and Translation Costs reports are calculated.
Costs Estimation report would count TM suggestions that can potentially be improved by auto-substitution feature based on the highest similarity match those strings can be improved to. For example, a match that can be improved from 75% match to 100% match would be considered a 100% match.
Translation Costs report would count TM suggestions improved by auto-substitution feature as regular TM suggestions. For example, a match improved from 75% match to 100% match would be considered a 100% match.
Note: If the string was translated with an improved suggestion shown it would be counted as such. Regardless whether the feature is enabled or disabled at the moment Translation Costs report is generated.