Results 1 to 10 of 19

Thread: Google translate from command line

Threaded View

  1. #8
    Join Date
    Mar 2008
    Ubuntu 9.10 Karmic Koala

    Re: Google translate from command line

    Yes, single apostrophes cause a problem with all commands entered into the shell because the shell (bash) interprets the apostrophe as the first of a pair of quotation marks. It's waiting for the closing quotation mark, which never comes.

    What I usually do is surround the entire phrase with
    double quotation marks:

    % translate fr en "n'est-ce pas"
    is not
    though this is also possible:
    % translate fr en n\'est-ce pas
    is not
    Last edited by unutbu; June 17th, 2009 at 12:51 PM.

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts