Chinese as language translate


#1

Hi everyone! I am interested in translating my app of a food menu in different languages.I am trying with Chinese, using https://ionicframework.com/docs/resources/ng2-translate/ I have made a .json file with the translates i want to make .Having the button in the home folder hitting it <button ion-button style=“font-weight:100;color:#345C95;” (click)=“translateToChinese()”>
{{ “BTN_CHINESE” | translate }}
and having the

import { TranslateService } from ‘@ngx-translate/core’;
translateToChinese(){
this.translateService.use(‘chinese’);
}
to every folder I wanted the translate to happen, hitting the button makes me error in ionic-lab :
Runtime Error
Unexpected token in JSON at position 4111
ERROR SyntaxError: Unexpected token in JSON at position 4111
at JSON.parse ()
at Response.Body.json (main.js:104538)
at MapSubscriber.project (main.js:106252)
at MapSubscriber._next (main.js:76291)
at MapSubscriber.Subscriber.next (main.js:30142)
at XMLHttpRequest.onLoad (main.js:104947)
at t.invokeTask (polyfills.js:3)
at Object.onInvokeTask (main.js:4394)
at t.invokeTask (polyfills.js:3)
at r.runTask (polyfills.js:3)
I think that Chinese do not work are the characters are not understood.I am now in ionic need some detail help
tnx a lot for the time


#2

Seems the JSON is broken. Validate it using e.g. jsonlint.com