Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Translating text in PHP code into another Language

Hybrid View

  1. #1

    Translating text in PHP code into another Language

    Is there any program that selects fields of Texts from PHP code, prompt user to translate it into another language. Such as from English to Turkish. I have developed a document management software in English and would like it to be translated into another languages easily. It is a free program.

    I believe if I can think of something related to programming, someone else has already done that. Because, I am really hobby programmer and programming is not my profession.

    Your prompt response will be appreciated.

    Best regards,

    Harun Karaman
    Kordil Official Website - Offshore & Land Surveying Services

    Code to be traslated is the program presented in the website
    Kordil EDMS - free Document management software - free document control software - Kordil EDMS Electronic Document Management Software

  2. #2
    Try Google Translator, there's an API for it somewhere Tools - Google Translate

  3. #3
    Use Google Translate API or Fetch it using cURL , If you need i will post a example in Programming thread
    Visit : Paste-Bin | Yahoo Tracer | Twitter Signatures
    Contact Me For PHP Works
    An cURL Expertise

  4. #4
    Quote Originally Posted by chetan View Post
    Use Google Translate API or Fetch it using cURL , If you need i will post a example in Programming thread
    oh please do

  5. #5
    Quote Originally Posted by Aziz View Post
    oh please do
    Oh !! Yeah Here it is

    http://www.netbuilders.org/programming/php-translating-text-using-google-curl-10337.html

    And also see my other class , hope some one will comment

    http://www.netbuilders.org/programming/ip-details-php-class-example-me-10272.html
    Visit : Paste-Bin | Yahoo Tracer | Twitter Signatures
    Contact Me For PHP Works
    An cURL Expertise

  6. #6
    What I believe I am misunderstood. My problem is once you start editing a php code, it is hard to distinguish the words to be translated:

    For example, say there is a line in your php code:

    echo "Kordil Is a Surveying Company Registered in Turkey";

    I want to translate this code into Turkish as:

    echo "Kordil Turkiye'de hizmet veren bir ölçme şirketidir"

    If you accidentally translate the command "echo" then you know what happens.

    Now, my problem is having a tool that highlights the fields or selects translatable fields to easy the translation. The highlighting text editors are the basics of this issue, while I am looking for something more specific which is developed specifically for translation, if there is any of course.
    Harun Karaman
    Kordil
    http://www.kordil.com

  7. #7
    why translate the code?? simply change the outputted content to another language

  8. #8
    Because, the program works in Intranet an Internet. With the way you suggest requires all users must have internet connection. Also the quality of the translation (!), especially to Turkish.

    For example this is a single word in Turkish

    "Cekoslavakyalilastiramadiklarimizdanmisiniz"

    which means

    "Are you one of those that we could not have possibly turned into a Checkoslavakian?"

    So just imagine you consider the quality of translations.
    Harun Karaman
    Kordil
    http://www.kordil.com

  9. #9
    A program can never give you an accurate translation. I'd suggest asking a HUMAN translator who speaks both languages fluently and has experience.

  10. #10
    That is why I am not looking for a tool to make translation. Looking for a tool which easy the translation. For myself or someone else who is dummy in code reading. Once you start hard editing the code, sometimes makes you as if looking for rubbish in the pin. As a firm statement, my focus point is not the spoken language, is to identify the fields to be translated.
    Harun Karaman
    Kordil
    http://www.kordil.com

Page 1 of 2 12 LastLast

Similar Threads

  1. PHP: Translating Text Using Google [cURL]
    By chetan in forum Programming
    Replies: 14
    Last Post: 11 September, 2012, 07:02 AM
  2. Translating a site from another language
    By thomasc in forum Translation Script Support
    Replies: 4
    Last Post: 6 March, 2012, 11:58 AM
  3. How to stop translating...
    By CyberWizard in forum Translation Script Support
    Replies: 2
    Last Post: 5 August, 2010, 06:54 AM
  4. Only Home is translating
    By webdevtech in forum Translation Script Support
    Replies: 1
    Last Post: 22 September, 2009, 16:43 PM
  5. Seems to be working... but not translating anything
    By quikned in forum Translation Script Support
    Replies: 5
    Last Post: 26 March, 2009, 20:28 PM

Tags for this Thread

Bookmarks

Posting Permissions

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