Based on my observations, the issue lies with the “.”, which is being treated as a delimiter, causing format errors. I tried to add rules myself to avoid treating “.” as a delimiter, but I don’t understand the rules and don’t know how to define them. I attempted to use AI for assistance, and it suggested the following rules, but they had no effect. Can you help me?
<?xml version="1.0" encoding="UTF-8"?>
<srx version="2.0"
xmlns="http://www.lisa.org/srx20"
xsi:schemaLocation="http://www.lisa.org/srx20 srx20.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<header segmentsubflows="yes" cascade="yes">
<formathandle type="start" include="no"/>
<formathandle type="end" include="yes"/>
<formathandle type="isolated" include="yes"/>
</header>
<body>
<languagerules>
<languagerule languagerulename="Default">
<!-- 确保句号不会导致分段 -->
<rule break="no">
<beforebreak>\.</beforebreak>
<afterbreak></afterbreak>
</rule>
</languagerule>
</languagerules>
<maprules>
<!-- 应用默认规则 -->
<languagemap languagepattern=".*" languagerulename="Default"/>
</maprules>
</body>
</srx>
My original file is in JSON format, for example:
{
"\"Automatically adjust quality\" will be disabled for these videos.": "\"Automatically adjust quality\" will be disabled for these videos.",
"\"{directoryTitle}\" is currently being updated": "\"{directoryTitle}\" is currently being updated",
"\"{directoryTitle}\" is empty": "\"{directoryTitle}\" is empty",
"\"{playerName}\" is playing media from an unknown source.": "\"{playerName}\" is playing media from an unknown source.",
"({count} Channels)": "({count} Channels)",
"+ {count} more": "+ {count} more",
"...plus more exclusive features!": "...plus more exclusive features!",
"0 Channels (scan required)": "0 Channels (scan required)",
"0 files": "0 files",
"1 Album": "1 Album",
"1 Episode": "1 Episode",
"1 Item": "1 Item",
"1 Movie": "1 Movie",
"1 Second": "1 Second",
"1 Show": "1 Show",
"1 Track": "1 Track",
"1 Video": "1 Video"
}
I believe the issue I mentioned on The new strings are being automatically merged is also related to the “.”, and they might be the same problem.