FeaturesTakes selected text and replace it with {{'VAR' | PIPE_NAME}} and exports it to configured file RequirementsTranslate Pipe must be present (any pipe that use a json file to retrieve key/value). Extension SettingsFile configuration can be createn on root folder named 'translate.conf' with attributes:
ValidationsIf selected text is longer than 'maxLength' chars, key will be truncated and appended with "_" and (total_lenght - maxLength). Example maxLength 20: 'this is 26 chars long text' will be changed to 'THIS_IS_26_CHARS_LON_6') If key already present with a different name, an error will be prompt. If present with same key, no change will be made on the export file. |