This topic is locked

API for translating text

3/11/2024 2:21:07 AM
PHPRunner General questions
Z
Zeljko author

Hi everyone.
Can anyone help me in translating text from database?
I was thinking if there is a free API to integrate into PHPR project?
My problem is that I need to translate text which is stored in different table fields and I need to translate it in several languages -faster as possible- and with -less user interaction as possible-.
All translated text has to be saved in another database table. Let me show you an example:
Table for English Table for German
English: German:

  1. Main text: "This is main text" 1. "Dies ist der Haupttext"
  2. Sub1: "This is other text" 2. "Dies ist ein anderer Text"
  3. ...
  4. ...
    The point is, there are people included from all over the world. When a supervisor "click" translate text should be translated into other languages and other people could read it.
    I cannot think of easier way to do it... Selecting translation in browser is not an option!
    Any advise is welcomed!

fhumanes 3/14/2024

Hello,

I have made an example in Phprunner 10.7 and I have explained it on my portal: https://fhumanes.com/blog/guias-desarrollo/guia-80-traducir-contenidos-gestionados-en-base-de-datos/

You can try the operation in: https://fhumanes.com/translate

I am quite clumsy using the forum to be able to explain with graphics and codes, so I only leave the review to my website where you can obtain all the explanations and code of the example.

I also facilitate my email, in case you need to contact me.

Greetings,
fernando

Z
Zeljko author 4/7/2024

Thank you guys, I will check it out.