Mobile menu

How to translate .js files using CAT tools
Thread poster: Luciana Migliazza
Luciana Migliazza  Identity Verified
Local time: 18:57
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: 22:57
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: 18:57
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: 16:57
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: 22:57
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: 18:57
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: 22:57
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: 22:57
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





Across v6.3
Translation Toolkit and Sales Potential under One Roof

Apart from features that enable you to translate more efficiently, the new Across Translator Edition v6.3 comprises your crossMarket membership. The new online network for Across users assists you in exploring new sales potential and generating revenue.

More info »
Déjà Vu X3
Try it, Love it

Find out why Déjà Vu is today the most flexible, customizable and user-friendly tool on the market. See the brand new features in action: *Completely redesigned user interface *Live Preview *Inline spell checking *Inline

More info »



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