Detecting language please wait for.......
Dear Studio 2017 users,
I just completed a big editing job where the client no longer wants a space between English text/numbers and a Chinese character, the style that was used previously. I ended up spending 20-25% of the editing time manually removing these extra spaces from the matches coming from the project TM.
Is there a way or an app that can automatically remove these spaces for me? Also, in some cases, the text/Chinese character is surround by a formatting tag pair, and the extra space is either before the opening tag or after. I wonder if there is a way/expression that can ignore the tags and find/delete the extra space before the tag.
Thank you in advance for any suggestions!
You could click on "Advanced Editing Options" and then you can load your files there too.
Quite tricky to find rules for all cases and some of them, around the tags for example I can only solve by working directly on the SDLXLIFF in a decent text editor. So if I search for this:
And replace with this:
Then this will resolve the ones with spaces either side of the tags. The ones without tags at all I presume you have no problem with as these are easily handled in the Studio Editor or the Toolkit for example.
Chunyi Chen said:I am very happy to learn that the ones without tags can be handled using the Toolkit.
Could also be handled using the out of the box search and replace in Studio!
Chunyi Chen said:Paul, in fact I don't know how to remove the instances of extra spaces that do not involve tags using search and replace in Studio.
Use Ctrl+H to bring up the replace dialogue then two two operations. First to find Chinese characters followed by a space and a number.
Then repeat for numbers followed by a Chinese character (this looked appropriate from your test files... but you be the judge of that).
You've got RegexBuddy... try it out!
So try this too: