Thread: translation api

  1. #1
    Registered User
    Join Date
    Jun 2008
    Posts
    127

    translation api

    Does anybody know of a C api for translating across various languages? I can't seem to find one on the web and google translate only supports Java and Javascript.

  2. #2
    Tha 1 Sick RAT
    Join Date
    Dec 2003
    Posts
    271
    Don't believe there is one. http://www.cplusplus.com/reference/clibrary/
    A hundred Elephants can knock down the walls of a fortress... One diseased rat can kill everyone inside

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    http://www.debian.org/doc/manuals/intro-i18n/
    GNU gettext(), and a whole lot of other stuff to consider as well.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  4. #4
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Do you mean to translate for example English to French by calling
    Code:
    char *translate("I speak french", ENGLISH, FRENCH);
    and hope to get back the french version of that phrase?

    If so, it's a pretty huge project to do that, and there may well be commercial products for the purpose, but I doubt there are any "free" ones.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  5. #5
    Registered User
    Join Date
    Jun 2008
    Posts
    127
    Yes that is what I meant. Apparently google felt up to the challenge, but then their api is Javascript only.
    Last edited by herWter; 12-11-2008 at 02:31 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Want to learn Windows API for Game Programming
    By George M. in forum Windows Programming
    Replies: 15
    Last Post: 09-28-2008, 10:26 AM
  2. platform specific API or C standard API
    By George2 in forum C Programming
    Replies: 1
    Last Post: 11-12-2007, 01:32 AM
  3. FILES in WinAPI
    By Garfield in forum Windows Programming
    Replies: 46
    Last Post: 10-02-2003, 06:51 PM
  4. Is it foolish to program with Win32 API ?
    By Kelvin in forum Windows Programming
    Replies: 2
    Last Post: 07-09-2002, 02:03 PM
  5. pthread api vs win32 thread api
    By Unregistered in forum Windows Programming
    Replies: 1
    Last Post: 11-20-2001, 08:55 AM