சேஎச்ஓஎன் கோப்புகள்¶
Changed in version 4.3: முந்தைய வெளியீடுகளில் உடைக்கப்பட்ட சிக்கலான சூழ்நிலைகளுக்கு கூட சே.எச்.ஓ.என் கோப்பின் கட்டமைப்பு முறையாக பாதுகாக்கப்படுகிறது.
சே.எச்.ஓ.என் வடிவம் பெரும்பாலும் சாவாச்கிரிப்டில் செயல்படுத்தப்பட்ட பயன்பாடுகளை மொழிபெயர்க்கப் பயன்படுத்தப்படுகிறது.
வலைபெயர்ப்பு தற்போது சேஎச்ஓஎன் மொழிபெயர்ப்புகளின் பல வகைகளை ஆதரிக்கிறது:
எளிய விசை / மதிப்பு கோப்புகள், எடுத்துக்காட்டாக 'vue-i18n' அல்லது 'react-intl' மூலம் பயன்படுத்தப்படுகின்றன.
கூடு கட்டிய சாவிகளைக் கொண்ட கோப்புகள்.
சே.எச்.ஓ.என் மொழிபெயர்ப்புகள் பொதுவாக ஒற்றை மொழி கொண்டவை, எனவே ஆங்கில சரங்களுடன் (பெரும்பாலும் என்ன) ஒரு அடிப்படை கோப்பை குறிப்பிட பரிந்துரைக்கப்படுகிறது.
Hint
The JSON file and JSON nested structure file can both handle same type of files. Both preserve existing JSON structure when translating.
The only difference between them is when adding new strings using Weblate.
The nested structure format parses the newly added key and inserts the new
string into the matching structure. For example app.name key is inserted as:
{
"app": {
"name": "Weblate"
}
}
See also
எடுத்துக்காட்டு கோப்புகள்¶
எடுத்துக்காட்டு கோப்பு:
{
"Hello, world!\n": "Ahoj světe!\n",
"Orangutan has %d banana.\n": "",
"Try Weblate at https://demo.weblate.org/!\n": "",
"Thank you for using Weblate.": ""
}
நெச்ட் செய்யப்பட்ட கோப்புகளும் ஆதரிக்கப்படுகின்றன (தேவைகளுக்கு மேலே காண்க), அத்தகைய கோப்பு இப்படி இருக்கும்:
{
"weblate": {
"hello": "Ahoj světe!\n",
"orangutan": "",
"try": "",
"thanks": ""
}
}
வலைபெயர்ப்பு configuration¶
Typical Weblate கூறு உள்ளமைவு |
|
|---|---|
கோப்பு முகமூடி |
|
ஒருமொழி அடிப்படை மொழி கோப்பு |
|
புதிய மொழிபெயர்ப்புகளுக்கான வார்ப்புரு |
'வெறுமை' |
கோப்பு வகை |
'சே.எச்.ஓ.என் கூடு கட்டும் கட்டமைப்பு கோப்பு' |
File format parameters¶
File format parameters with the pattern json_* can be used to configure the behavior of the JSON format.