在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):akintos/UnrealLocres开源软件地址(OpenSource Url):https://github.com/akintos/UnrealLocres开源编程语言(OpenSource Language):C# 100.0%开源软件介绍(OpenSource Introduction):UnrealLocresUnrealEngine 4 Can read/write every locres version up to 3 (latest) DownloadGo to releases and download Usage
Export
Export locres file. Default output format is csv. You should never change the key column. Import
Import translation file into original locres file and create new translated locres file. Merge
Merge two locres files into one, adding strings that are present in source but not in target file. LocresLibSample usageusing LocresLib;
var locres = new LocresFile();
using (var file = File.OpenRead(inputPath))
{
locres.Load(file);
}
foreach (var locresNamespace in locres)
{
foreach (var stringEntry in locresNamespace)
{
string key = stringEntry.Key;
string val = stringEntry.Value;
// work with stringEntry
}
}
using (var file = File.Create(outputPath))
{
locres.Save(file, LocresVersion.Optimized);
} UE4 Source codeThis library is based on original UE4 open source code TextLocalizationResourceVersion.h |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论