Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

How to return subscriptionContract.originOrder.shippingAddress.formatted in Japanese

How to return subscriptionContract.originOrder.shippingAddress.formatted in Japanese

loitn
Shopify Partner
4 0 0

My query:

<<<'QUERY'
query ($id: ID!) {
   subscriptionContract(id: $id) {
      originOrder {
         shippingAddress {
             formatted(withCompany: true, withName: true)
         }
      }
   }
}
QUERY;


It return formatted like this below

"formatted": [
   "Japan 〒105-0003",
   "Tokyo 港区",
   "西新橋一丁目8番1号",
   "REVZO虎ノ門9F",
   "元気",
   "太朗 筋肉様"
]

I want Japan and Tokyo will be 日本 and 東京都. How do I translate it to Japanese?

Reply 1 (1)

loitn
Shopify Partner
4 0 0