Start a new topic

Prepare multi-word non-translatables by adding | and \s

Here's a simple macro to prepare multi-word non-translatables by adding | and \s before saving them:


image



'added to' > added too

Okay, 'I've solved it!'. Here's the updated (and renamed) version of the macro. All multi-word non-translatables will be tagged and the individual components will be added to–because of Hunspell.


image


Nice, isn't it?

Okay, and thanks for your reply. Hmm, I guess that I have to come up with a solution. Like: adding the components of any multi-word non-translatables too. Not a problem.

Hunspell spell checker is not designed to handle regular expressions and I don't know how to hack Hunspell libraries.  


1 person likes this

It looks like the \s in multi-word non-translatables prevents Hunspell to ignore them. Wow, that's a cryptic formulation. Let me try that again:


When I add \s in a glossary of non-translatables, the entries will be recognised as non-translatables (good), displayed as non-translatables (even better) and can be inserted like non-translatables (terrific!).


But they aren't ignored in QA Spelling.


Will Igor read this, or will I have to enter a Problem description in the appropriate forum?

Added a key command to make sure that focus is always in the target term field of the dialogue box.

Duh, backslash (\) > forward slash (/). 

Added handling for the backslash (\). Words, separated by a backslash are now treated as one non-translatable:


Meier/Müller

M4/M6

Login to post a comment