Pages in topic:   < [1 2]
MemoQ and Java properties files
Thread poster: Madeleine MacRae Klintebo
Philippe Etienne
Philippe Etienne  Identity Verified
Spain
Local time: 10:16
Member
English to French
The workhorse way Jul 30, 2010

Madeleine MacRae Klintebo wrote:
...
Is there any way we can format the strings to "hide" the string identifier? I.e. only see and translate the part after the "=" and then export a file containing both string identifier and translated text.

Assuming there is one and only one "=" sign at each line:
Open your file in Word. Save as filename_all
Replace "=" with a tab (Search = and replace with ^t)
Convert text to table (Table>Convert in Word 2003)
Then:
either apply the do-not-translate style to the first column and Add doc as... in MemoQ (better if you want to be able to refer to the property name in MemoQ while translating), or
copy-paste the second column into a new file named filename_totranslate and Add in MemoQ.
Translate in MemoQ
Export
Then reverse what you did before, ie convert table to text and replace tabs with =.
Also pay attention to/address any misrepresented characters when converting the Word file back to create the translated .properties file.

In many situations, search/replace and file conversions using Word can make our job easier with CAT tools. The main thing is to make sure that you know and test how to get the translation/Bilingual file back in order.
I also use this method to create for example TMs from bilingual 2-column Excel files (in Word, replacing tables with tab delimited text, then replacing tabs with and various other operations gathered into a Word macro, then cleaning the bilingual Trados Word files into Trados 2007, etc.)

Enjoy your weekend,
Philippe


 
Madeleine MacRae Klintebo
Madeleine MacRae Klintebo  Identity Verified
United Kingdom
Local time: 09:16
Swedish to English
+ ...
TOPIC STARTER
Worked beautifully Jul 30, 2010

Took only a few seconds to add the file and it hid all string identifiers and comment text.

Gergely - you should get someone to update the page with formats on your website.


 
Gergely Vandor
Gergely Vandor
Hungary
Local time: 10:16
English to Hungarian
thanks Madeleine Jul 30, 2010

We are working on that page, apparently there's just a small technical issue that causes a delay in publishing the corrected version.

 
Pages in topic:   < [1 2]


To report site rules violations or get help, contact a site moderator:


You can also contact site staff by submitting a support request »

MemoQ and Java properties files






Pastey
Your smart companion app

Pastey is an innovative desktop application that bridges the gap between human expertise and artificial intelligence. With intuitive keyboard shortcuts, Pastey transforms your source text into AI-powered draft translations.

Find out more »
Wordfast Pro
Translation Memory Software for Any Platform

Exclusive discount for ProZ.com users! Save over 13% when purchasing Wordfast Pro through ProZ.com. Wordfast is the world's #1 provider of platform-independent Translation Memory software. Consistently ranked the most user-friendly and highest value

Buy now! »