Mobile menu

How to translate .js files using CAT tools
Thread poster: Luciana Migliazza
Luciana Migliazza  Identity Verified
Local time: 13:36
Spanish to English
+ ...
Nov 15, 2006

Hello!
I am looking for some information on how to translate .js (Java Script) files. I know they are simple files like text edit files. the problem is I need a tool to separate what I should translate and what I dont have to change so as not to corrupt the file. Can you provide any suggestions? Is there any possibility to work with a tool like Trados 7.5 or similar?
Many thanks in advance!
Luciana


Direct link Reply with quote
 

Harry Bornemann  Identity Verified
Mexico
English to German
+ ...
DVX Nov 15, 2006

Déjà Vu X can import Javascript files.
I have not tried this feature yet, but I have been told that Javascript can be problematic with any CAT tool.

At least when the Javascript "eval" command is used, no tool could ever work safely, because this command can create and execute Javascript code on the fly.


Direct link Reply with quote
 

Pablo Bouvier  Identity Verified
Local time: 18:36
German to Spanish
+ ...
Use DVX Nov 15, 2006

I guess DVX does the job. But, some logical meaning is needed. As like with any L10N project...

Direct link Reply with quote
 
Luciana Migliazza  Identity Verified
Local time: 13:36
Spanish to English
+ ...
TOPIC STARTER
Many thanks! Nov 15, 2006

Thanks for writing, I keep on trying :S

Direct link Reply with quote
 

Claudia Alvis  Identity Verified
Peru
Local time: 11:36
Partial member
Spanish
+ ...
Rainbow 4 Nov 16, 2006

Enlaso's Rainbow 4 can convert .js (among others) files into .rtf files, that can be translated with any CAT tool, and then back to .js. It does have a steep learning curve, but once you've managed to learn how it's used, it's extremely useful. And it's free.

http://www.translate.com/technology/tools/Rainbow4.html


Direct link Reply with quote
 
Stefan de Boeck  Identity Verified
Belgium
Local time: 18:36
English to Dutch
+ ...
Notepad Nov 16, 2006

Claudia Alvis wrote:
Enlaso's Rainbow 4 (...) does have a steep learning curve...

You can use Notepad to open the .JS (my WindowsXP has an awful fear of anything that might be active, yours may not) and then copy the JS's content into a Word file and that's how steep this learning curve is.


Direct link Reply with quote
 
Luciana Migliazza  Identity Verified
Local time: 13:36
Spanish to English
+ ...
TOPIC STARTER
how can I block tags? Nov 17, 2006

Once I copy the file from a notepad into a word document, I need to block the strings I can't change so as not to corrupt the original file. The file is full of strings that don't have to be translated.
Thanks!!! for helping.


Direct link Reply with quote
 
Szabolcs Varga  Identity Verified
Local time: 18:36
English to Hungarian
+ ...
TM/2 can do it easily Jun 8, 2007

Just for the record: the IBM Translation Manager/2 can analyze JavaScript files quite well. It's really easy to use for .JS files.

Direct link Reply with quote
 
xxx2nl  Identity Verified
Netherlands
Local time: 18:36
How to translate JS Oct 8, 2015

I'm looking for a solution to translate the translatable content of a JS file.

DVX3 doesn't work (non-translatable content is imported, French characters aren't displayed correctly).

Okapi Rainbow doesn't run on El Capitan (Java 7 or higher required, though I already have Java 8).

What other solutions (CAT tools, open source apps, etc.) are available?

Thanks!

Hans


Direct link Reply with quote
 


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


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

How to translate .js files using CAT tools

Advanced search


Translation news related to CAT tools





SDL MultiTerm 2017
Guarantee a unified, consistent and high-quality translation with terminology software by the industry leaders.

SDL MultiTerm 2017 allows translators to create one central location to store and manage multilingual terminology, and with SDL MultiTerm Extract 2017 you can automatically create term lists from your existing documentation to save time.

More info »
PerfectIt consistency checker
Faster Checking, Greater Accuracy

PerfectIt helps deliver error-free documents. It improves consistency, ensures quality and helps to enforce style guides. It’s a powerful tool for pro users, and comes with the assurance of a 30-day money back guarantee.

More info »



All of ProZ.com
  • All of ProZ.com
  • Term search
  • Jobs