ไฟล์ทั้งหมดใช้แบบแผนการตั้งชื่อ Name.<sourceLocale>.<ext>
.resx
เรียนรู้เพิ่มเติม แฟ้มทรัพยากร .NET ที่ใช้ XML แปลข้อความภายในของโหนด <data><value> แต่ละโหนด โดยรักษาความคิดเห็นและข้อมูลเมตา
<?xml version="1.0" encoding="utf-8"?><root> <data name="Greeting" xml:space="preserve"> <value>Hello, world!</value> <comment>Shown on the home page</comment> </data> <data name="Goodbye" xml:space="preserve"> <value>See you later</value> </data></root>.xliff
เรียนรู้เพิ่มเติม เอกสาร OASIS XLIFF 2.0 แปลแต่ละ <source> และเขียนผลลัพธ์ลงใน <target> ที่เกี่ยวข้อง โดยตั้งค่า trgLang สําหรับตําแหน่งที่ตั้ง
<?xml version="1.0" encoding="utf-8"?><xliff xmlns="urn:oasis:names:tc:xliff:document:2.0" version="2.0" srcLang="en"> <file id="ui"> <unit id="greeting"> <segment> <source>Hello, world!</source> </segment> </unit> </file></xliff>.po
เรียนรู้เพิ่มเติม GNU gettext ไฟล์วัตถุแบบพกพา แปลแต่ละ msgid / msgid_plural เป็นรูปแบบ msgstr / msgstr[n]
msgid ""msgstr """Content-Type: text/plain; charset=UTF-8\n"
msgid "Hello, world!"msgstr ""
msgid "%d apple"msgid_plural "%d apples"msgstr[0] ""msgstr[1] "".json
เรียนรู้เพิ่มเติม ไฟล์ JSON โดยอําเภอใจ วัตถุที่ซ้อนกันจะถูกแบนด้วยตัวคั่น [--] สําหรับการแปล จากนั้นจะซ้อนกันอีกครั้งในเอาต์พุต ปุ่มประ ("unit.dotted.key") จะถูกเก็บรักษาไว้แบบคําต่อคํา
{ "app": { "title": "Resource Translator", "tagline": "Localize your repo on every commit" }, "buttons": { "save": "Save", "cancel": "Cancel" }}.ini
เรียนรู้เพิ่มเติม ไฟล์ key=value อย่างง่าย (INI สไตล์ Win32 หรือการกําหนดค่าแบบแบน) ส่วนหัวของส่วนและความคิดเห็นจะถูกเก็บรักษาไว้
# Display strings[ui]greeting=Hello, world!goodbye=See you later
[errors]not_found=The resource you requested was not found..restext
เรียนรู้เพิ่มเติม ทรัพยากรข้อความ Microsoft MUI — คู่ key=value แบนที่ใช้เป็นคู่หูข้อความกับ .resx
Greeting=Hello, world!Goodbye=See you laterNotFound=The resource you requested was not found.การรับประกันไป-กลับ
ชุดทดสอบจะตรวจสอบการไปกลับแบบไบต์ต่อไบต์สําหรับการติดตั้งที่เป็นตัวแทนของทุกรูปแบบ หากนิสัยใจคอของรูปแบบทําลายการไปกลับในฐานรหัสของคุณโปรด เปิดปัญหา ด้วยตัวอย่างที่น้อยที่สุด