Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted June 28, 20231 yr Hi, I want my site in 3 languages.Is this possible to change language through language translation APIs? If yes, pls suggest which one is supported by IPS?
June 28, 20231 yr Community Expert Sorry there are no means to translate languages through an API. There are already made language packs available in our Marketplace though: https://invisioncommunity.com/files/category/161-translations/
June 29, 20231 yr Author There are already made language packs available in our Marketplace though: https://invisioncommunity.com/files/category/161-translations/ As I know these packs translate pre defined data. What if I have pages or forum and I want real-time translation in two languages? How can I achieve this?
June 29, 20231 yr Community Expert As I know these packs translate pre defined data. What if I have pages or forum and I want real-time translation in two languages? How can I achieve this? Sorry, we do not provide any such real time translation capabilities at present
June 29, 20231 yr Community Expert You might look at Google translate. https://www.dummies.com/article/technology/notable-websites/google/how-to-install-google-translates-website-translator-plugin-145074/
June 29, 20231 yr This post was recognized by Marc! Nathan Explosion was awarded the badge 'Helpful' and 5 points. "Neat :)" If you have Pages, create a custom block using Manual HTML and add the following code in the content (if your existing language isn't English then change the 'en' element - https://cloud.google.com/translate/docs/languages) <div id="google_translate_element"></div> <script type="text/javascript"> function googleTranslateElementInit() { new google.translate.TranslateElement( {pageLanguage: 'en'}, 'google_translate_element' ); } </script> <script type="text/javascript" src="https://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script> Once created, drag it in place onto your site: Be aware that sometimes Google decide to make that unavailable. Edited June 29, 20231 yr by Nathan Explosion
July 5, 20231 yr Author If you have Pages, create a custom block using Manual HTML and add the following code in the content (if your existing language isn't English then change the 'en' element - This is good but does not solve the purpose. What if I have a third-party API for language translation? Is there any possibility to integrate this with my website with some custom modifications?
July 5, 20231 yr Just to clarify, then...what you are seeking is a feature that translates the entire page at the time of the user requesting the page, so that the served page is entirely in their language? Edited July 5, 20231 yr by Nathan Explosion
July 5, 20231 yr Author Just to clarify, then...what you are seeking is a feature that translates the entire page at the time of the user requesting the page, so that the served page is entirely in their language? Yes but Google Translate is not on my list. Edited July 5, 20231 yr by Pushpendra Singh Chauhan
July 5, 20231 yr Author What third-party API are you looking to use? I have the option to use some Indian government-approved APIs or you may suggest a better option.
July 5, 20231 yr Oh no...I'm not suggesting anything at all. I was just going to point you towards the plans/pricing details for your chosen option to provide you an indication of how expensive your requirement may become.
July 5, 20231 yr Author Oh no...I'm not suggesting anything at all. I was just going to point you towards the plans/pricing details for your chosen option to provide you an indication of how expensive your requirement may become. Expense is ok but is this doable with Invision Community Suite? I did not get any clue from the IPS team in this regard.
July 5, 20231 yr Yep - it's theoretically doable. Note: that's not me offering to do it, by the way. Edited July 5, 20231 yr by Nathan Explosion
July 5, 20231 yr Author Yep - it's theoretically doable. Thanks. Actually, First I tried the language localization of IPS, in phrases and html/php pages this is working fine. But in db pages, if I use {lang="cust_service"} in the source this does not work as the editor changes this to {lang="cust_service"}
July 5, 20231 yr Actually, First I tried the language localization of IPS, in phrases and html/php pages this is working fine. But in db pages, if I use {lang="cust_service"} in the source this does not work as the editor changes this to {lang="cust_service"} Why not just then simply create three different fields in pages for input and use those as for language translation and then modify template of pages to show as per user selected language. And if you want the translation to be done via some api that you can do via extending the pages app and save those values in that fields. Or use IPS API and do translation at local, post and save in new fields. This way you can easily have your data in api as well as you can also make changes in template to display as per right language. Expense is ok If expense is not an issue drop me dm, I will help. --- Ignore typos sent via mobile.