{ "language": "zh", "messages": [ { "id": "current_config", "message": "Current config", "translation": "当前配置" }, { "id": "set_config", "message": "set config", "translation": "设置%s为%s" }, { "id": "lang", "message": "lang", "translation": "语言" }, { "id": "zh", "message": "zh", "translation": "中文" }, { "id": "use_language", "message": "Use Chinese language", "translation": "使用中文语言" }, { "id": "HELLO_WORLD", "message": "Hello world!", "translation": "你好,世界" }, { "id": "HELLO_1", "message": "Hello", "translation": "你好 %s", "placeholders": [ { "id": "World", "string": "%[1]v", "type": "string", "underlyingType": "string", "argNum": 1, "expr": "world!" } ] }, { "id": "VISITOR", "message": "{Person} is visiting {Place}!", "translation": "%s正在访问%s", "placeholders": [ { "id": "Person", "string": "%[1]s", "type": "string", "underlyingType": "string", "argNum": 1, "expr": "person" }, { "id": "Place", "string": "%[2]s", "type": "string", "underlyingType": "string", "argNum": 2, "expr": "place" } ] }, { "id": "{Miles} miles traveled ({Miles_1})", "message": "{Miles} miles traveled ({Miles_1})", "translation": "%.2[1]f μίλια ταξίδεψε %[1]f", "placeholders": [ { "id": "Miles", "string": "%.2[1]f", "type": "float64", "underlyingType": "float64", "argNum": 1, "expr": "miles" }, { "id": "Miles_1", "string": "%[1]f", "type": "float64", "underlyingType": "float64", "argNum": 1, "expr": "miles" } ] } ] }