CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2009
    Posts
    1,689

    How to translate large string between languages?

    I'm currently using GTranslate to do my language translations, but it only seems to accept parameters via the url. If I try to put the text in POST data, the request fails. Obviously, this is a problem for strings greater than a certain length. I could split the string and make lots of requests, but that's terribly inefficient and some context may be lost.

    Are there any other translation services out there that allow me to POST large amounts of data to them?

    What would be really nice is a translation tool that allows me to upload a json array of all of the things that i need translated at once.

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    106

    Re: How to translate large string between languages?

    Did you take the server limit in account ?
    Most servers are configurated to a max of 1-2 MB for post, and same for upload size.

    You could try to upload it to a webserver and use the url from that page as parameter.
    Last edited by Teranoz; July 27th, 2009 at 05:57 AM.

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured