Extracting text from a Word file
Hello everybody,
I have a word file with strings, where I only need to translate the text after the colon, heres an example:
personen: Personen
mein_standort: Mein Standort
Is there a way to change the settings of the Word files in Wordbee to make that happen?
Thank you,
Zuzanna Schwarzenberg-Czerny
-
Hi Zuzanna
Open the Find/Replace box
search for :
replace with :^t
it will add a tab after each :
Then select all the text, and Convert Text to Table - choose TABS (separate text at)
once done you should have 2 columns - string name + string text.
once translation is done you could:
1. copy each column to an xls file
2. invert the sequences
select table >
convert to text >
search for ":^t" >
replace with ":"
Isaac
0 -
Hi Zuzanna,
you can do it in Wordbee with regular expression.
1. Go to Settings and the click Microsoft Word document format

3. Select the profile you would like to edit

4. Go to do not translate tab and click Edit

4. Then enter this regex: ^[^:]+:\s* into the box like on a below screenshot

Let me know if it works for you.
0 -
Txs!
0 -
Thank you Isaac and Wojciech, it works!
Best,
Zuzanna
0 -
You are welcome! Regex are so nice, aren't they? :-)
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
5 Kommentare