translations
Skill1 starsChanged 5 months agoMITView on GitHub
Explains LocalExIm LCX and LCXZ translation file formats, compression headers, XML structure, RESX export rules, and language fallback behavior. Use when reading, writing, converting, or validating translation files.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- wikilayer/skillstheir own version, first seen Sep 16, 2026
- WaniWani-AI/sdktheir own version, first seen Jun 30, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- WaniWani-AI/sdk★ 17same name
- wikilayer/skills★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository71 other files it gives its agents.
- unsafe-checker/AGENTS.mdAGENTS.md
- activity-tracingSkill
- beadsSkill
- code-analysis-warningsSkill
- coding-guidelinesSkill
- compiler-warningsSkill
- core-actionbookSkill
- core-agent-browserSkill
- core-dynamic-skillsSkill
- core-fix-skill-docsSkill
- csharp-compiler-warningsSkill
- csharp-object-designSkill
- domain-cliSkill
- domain-cloud-nativeSkill
- domain-embeddedSkill
- domain-fintechSkill
- domain-iotSkill
- domain-mlSkill
- domain-webSkill
- dotnet-pinvokeSkill
- dreamSkill
- gitSkill
- ide-warningsSkill
- karpathy-guidelinesSkill
- m01-ownershipSkill
- m02-resourceSkill
- m03-mutabilitySkill
- m04-zero-costSkill
- m05-type-drivenSkill
- m06-error-handlingSkill
- m07-concurrencySkill
- m09-domainSkill
- m10-performanceSkill
- m11-ecosystemSkill
- m12-lifecycleSkill
- m13-domain-errorSkill
- m14-mental-modelSkill
- m15-anti-patternSkill
- mermaidSkill
- meta-cognition-parallelSkill
- modern-csharpSkill
- msbuild-warningsSkill
- mx-creative-keypadSkill
- nuget-warningsSkill
- nullability-warningsSkill
- rcs-warningsSkill
- renpySkill
- rust-call-graphSkill
- rust-code-navigatorSkill
- rust-dailySkill
- rust-deps-visualizerSkill
- rust-learnerSkill
- rust-object-designSkill
- rust-refactor-helperSkill
- rust-routerSkill
- rust-skill-creatorSkill
- rustSkill
- rust-symbol-analyzerSkill
- rust-trait-explorerSkill
- understand-chatSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 1 is distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 67
Read and validate the first 12 bytes as ASCII MSEALCXZ0010.
- Distinctive: line 104
Create the output file.
- Very specific: line 105
Write the ASCII header MSEALCXZ0010.
- Very specific: line 106
Write the UTF-8 bytes through a .NET DeflateStream.
- Very specific: line 163
When a string is the same in a language file (e.g.
- Very specific: line 164
When a string is the same in the regional language (e.g.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Translation Files
LocalExIm uses two file extensions for translation editor files:
.lcx: uncompressed XML..lcxz: compressed LCX XML.
Both formats contain the same XML model. The compressed .lcxz format adds a fixed file header and Deflate compression.
LCX
An .lcx file is a plain XML document. It can be opened with XElement.Load(...) and saved with XElement.Save(...).
The root element is:
<Locales xmlns="..."
version="1"
created="..."
modified="..."
xml:space="preserve">The file contains:
Languages: oneLanguageelement per localized language, using names such asde,de-ch,en-gb,pl, orzh.Entry: one localizable resource entry.Default: the neutral language value.Translation: one translated value for a language.O: original text.M: modified text, used when the editor stores a changed value.
Resource IDs are repository-relative resource paths plus the RESX key, for example:
Some.Project.Name/i18n/LocalizedStrings/FooBarmaps to
./Some.Project.Name/i18n/LocalizedStrings.resx<data name="FooBar">
<value>...</value>
</data>LCXZ
An .lcxz file is:
- A 12-byte ASCII header:
MSEALCXZ0010. - A .NET
DeflateStreampayload. - The decompressed payload is UTF-8 encoded LCX XML.
This is not a ZIP file and not GZip. It is raw .NET Deflate data after the LocalExIm header.
Reading LCXZ
To read an .lcxz file:
- Open the file as bytes or a stream.
- Read and validate the first 12 bytes as ASCII
MSEALCXZ0010. - Deflate-decompress the remaining stream.
- Decode the decompressed bytes as UTF-8 text.
- Parse the text as LCX XML.
using System.IO.Compression;
using System.Text;
using System.Xml.Linq;
static XDocument ReadLcxz(string path)
{
var expectedHeader = Encoding.ASCII.GetBytes("MSEALCXZ0010");
using var input = File.OpenRead(path);
var header = new byte[expectedHeader.Length];
if (input.Read(header, 0, header.Length) != header.Length ||
!header.SequenceEqual(expectedHeader))
{
throw new InvalidDataException("Unsupported LCXZ header.");
}
using var deflate = new DeflateStream(input, CompressionMode.Decompress);
using var reader = new StreamReader(deflate, Encoding.UTF8);
var xml = reader.ReadToEnd();
return XDocument.Parse(xml, LoadOptions.PreserveWhitespace);
}Writing LCXZ
To write an .lcxz file:
- Build the LCX XML document.
- Serialize it as XML text.
- Encode the XML text as UTF-8 bytes.
- Create the output file.
- Write the ASCII header
MSEALCXZ0010. - Write the UTF-8 bytes through a .NET
DeflateStream.
using System.IO.Compression;
using System.Text;
using System.Xml.Linq;
static void WriteLcxz(string path, XDocument document)
{
var header = Encoding.ASCII.GetBytes("MSEALCXZ0010");
var xml = document.ToString(SaveOptions.OmitDuplicateNamespaces);
var payload = Encoding.UTF8.GetBytes(xml);
using var output = File.Create(path);
output.Write(header, 0, header.Length);
using var deflate = new DeflateStream(output, CompressionMode.Compress, leaveOpen: true);
deflate.Write(payload, 0, payload.Length);
}Reading LCX
To read an uncompressed .lcx file, load it directly as XML:
using System.Xml.Linq;
static XDocument ReadLcx(string path)
{
return XDocument.Load(path, LoadOptions.PreserveWhitespace);
}Writing LCX
To write an uncompressed .lcx file, save the XML document directly:
using System.Xml.Linq;
static void WriteLcx(string path, XDocument document)
{
document.Save(path, SaveOptions.OmitDuplicateNamespaces);
}RESX Export Notes
- Language names in LCX/LCXZ files are lower-case, for example
de-ch,en-gb, andpt-br. - Language names in RESX files are following the ISO 639-2 and IETF BCP 47 standard, for example
deandde-AT. - Language neutral values come from
<ResourceFileName>.resx. - Localized values come from
<ResourceFileName>.<language>.resx - Regionally localized values come from
<ResourceFileName>.<language>-<REGION>.resx - Localized files can omit entries when they should fall back to the neutral value.
- The neutral language is US english (
en/en-US) and used as fallback. Therefore*.en.resx/*.en-US.resxfiles are omitted. - The default region for english is
en-USand the default region for german isde-DE, therefore those files are omitted. - When a string is the same in a language file (e.g.
*.en.resx,*.de.resx) as in the neutral-language file (*.resx), the value can be omitted from the language file. - When a string is the same in the regional language (e.g.
*.en-GB.resx,*.de-AT.resx,*.de-CH.resx) and the primary language (e.g.*.en.resx,*.de.resx), the regional value can be omitted.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

