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