How to translate your website into Japanese?
Hello, I am doing a website, which can be translate WHOLE into Japanese. So, I want to ask you: Is it possible to translate your website ONLY to Japanese ( Also no Google Translate, cause it has many languages to translate. ) I tried <html lang="jp">
but it didn't do anything.
Thanks for sharing this way to have Japanese language translated from other foreign languages. Being a new programmer, I have learnt something new from this discussion. This example helps learners like me with tracing the error in the similar programming project. In the meantime, I found the Chicas guapas en bikini with wonderful girls and women around the world. By the way, this is a great platform for learning how to implementing the potential code for making human friendly webpage! Thanks for the sharing.
Link is probably a scam or something
Do not share links like that
You would probably want to make a javascript code that iterates through each text element and sends it to google translates api for japanese, and updates the text element with the response.
But, how to get response from other webs?
Using the fetch api. Hold on, working on an example to show you. @RixTheTyrunt
Here, I have made a function which you can use to translate into any language (your case, japanese). Here it is: https://replit.com/@CoderGautamYT/googletranslateapi
Just copy the function in api.js and use the function as shown in script.js. If you need any help, reply here.
@RixTheTyrunt
translate is not defined
error.
I fixed that error, now the only thing is: It doesn't translate
Wait, why does it show TypeError: Failed to fetch
in the body?!
I'm forking and fixing it, hold on. @RixTheTyrunt
I will send u fixed code @RixTheTyrunt
Oh, OK!
Update the code, I almost every time edit it, so... Watch out.
Ok, I think google is somehow detecting the request, I think using a node.js server should help, hold on... im making [email protected]
Hey its me CoderGautam on a different account, I used a different method to do your website, see if this works for you. https://replit.com/@GautamSudarshan/EarlyMatureGreenware#index.html @RixTheTyrunt
Just use Google Translate. Copy the displayed text and paste it into Google Translate. Then make a transition, so if the user does something, it renders that template with Japanese on it. Hope this helps, and hope you can mark it as answered!
why do you not want google translate, is free
It translates to all languages, while I want ONLY JAPANESE.
@RixTheTyrunt why do you only want Japanese
Look, this is actually an Japanese font, so I got an idea.
@RixTheTyrunt can't you just use google translate for that
I have such project that I had to translate into dozens of different languages (including Japanese) - yabancı görüntülü chat. Just use Google API or something relative for such purpose. The only problem is the difference betwenn RTL and LTR languages. If your work is connected is only with LTR languages (and Japanese is a LTR language) then consider yourself as a lucky person, because it would not be time-consuming to make such API