# Language Translator

**URL:** <https://forum.ionicframework.com/t/language-translator/119111>\
**Category:** ionic-v3\
**Created:** [January 23, 2018, 10:09am UTC](https://forum.ionicframework.com/t/language-translator/119111 "2018-01-23T10:09:30Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![priyasamyal](https://avatars.discourse-cdn.com/v4/letter/p/e19adc/32.png) [@priyasamyal](https://forum.ionicframework.com/u/priyasamyal)\
**Post date:** [January 23, 2018, 10:09am UTC](https://forum.ionicframework.com/t/language-translator/119111/1 "2018-01-23T10:09:30Z")

</div>

How to translate the json response from api to any other language. With i18n we create our own json. But how dynamic json data will be translated in Ionic 3.

Waiting for your replies!!

---

<div class="post-metadata">

**Author:** ![flycoders\_sourav](https://avatars.discourse-cdn.com/v4/letter/f/e47c2d/32.png) [@flycoders\_sourav](https://forum.ionicframework.com/u/flycoders_sourav)\
**Post date:** [January 23, 2018, 4:56pm UTC](https://forum.ionicframework.com/t/language-translator/119111/2 "2018-01-23T16:56:49Z")

</div>

> [@priyasamyal](#):
>
> How to translate the json response from api to any other language

just look at this [link](https://www.npmjs.com/package/ng2-translate)

---

<div class="post-metadata">

**Author:** ![priyasamyal](https://avatars.discourse-cdn.com/v4/letter/p/e19adc/32.png) [@priyasamyal](https://forum.ionicframework.com/u/priyasamyal)\
**Post date:** [January 23, 2018, 5:12pm UTC](https://forum.ionicframework.com/t/language-translator/119111/3 "2018-01-23T17:12:52Z")

</div>

I have seenthis link. But again this contains i18n json file which has json  
for the words that needs to be translated. So it is good for translating  
static data. Whose defination is in that i18n json file. But data from api  
is dynamic amd it can not be handled in this way

---

<div class="post-metadata">

**Author:** ![Sujan12](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/sujan12/32/108395_2.png) [@Sujan12](https://forum.ionicframework.com/u/Sujan12)\
**Post date:** [January 23, 2018, 5:18pm UTC](https://forum.ionicframework.com/t/language-translator/119111/4 "2018-01-23T17:18:10Z")

</div>

Only way this can work:

a) Your API has to give you translated content  
b) You need another API that you can give the dynamic content that then gives you translations  
c) You know all the dynamic content and keep a file with all translations locally

a) is to be preferred of course.

---

<div class="post-metadata">

**Author:** ![priyasamyal](https://avatars.discourse-cdn.com/v4/letter/p/e19adc/32.png) [@priyasamyal](https://forum.ionicframework.com/u/priyasamyal)\
**Post date:** [January 23, 2018, 5:33pm UTC](https://forum.ionicframework.com/t/language-translator/119111/5 "2018-01-23T17:33:12Z")

</div>

Actually it is client demand. He has the website which dynamically  
translates the data from api . He wants me to implement the same in ionic  
app without make changes in api.

But i feel there is no other way to do this.  
But thanks for your suggestions.  
I appreciate 😊

---

<div class="post-metadata">

**Author:** ![Sujan12](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/sujan12/32/108395_2.png) [@Sujan12](https://forum.ionicframework.com/u/Sujan12)\
**Post date:** [January 23, 2018, 6:07pm UTC](https://forum.ionicframework.com/t/language-translator/119111/6 "2018-01-23T18:07:21Z")

</div>

Well, how is the website doing this?

---

<div class="post-metadata">

**Author:** ![priyasamyal](https://avatars.discourse-cdn.com/v4/letter/p/e19adc/32.png) [@priyasamyal](https://forum.ionicframework.com/u/priyasamyal)\
**Post date:** [January 24, 2018, 1:57am UTC](https://forum.ionicframework.com/t/language-translator/119111/7 "2018-01-24T01:57:41Z")

</div>

It is a wordpress website. He said, he is doing this plugin.

---

<div class="post-metadata">

**Author:** ![Sujan12](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/sujan12/32/108395_2.png) [@Sujan12](https://forum.ionicframework.com/u/Sujan12)\
**Post date:** [January 24, 2018, 10:03am UTC](https://forum.ionicframework.com/t/language-translator/119111/8 "2018-01-24T10:03:12Z")

</div>

Then: How is this plugin doing it?

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [July 19, 2021, 9:54pm UTC](https://forum.ionicframework.com/t/language-translator/119111/9 "2021-07-19T21:54:08Z")

</div>

Closed on July 19, 2021, 9:54pm UTC


