一些插件可能已经有了官方或者非官方的汉化支持,直接安装相应的汉化包即可。对于那些没有现成汉化资源的插件,你可以根据NGA上的教程学习如何自己动手进行汉化。

请记得,在尝试任何修改之前,一定要做好备份工作,并且遵循合法合规的方式来进行汉化,尊重原作者的劳动成果。调试错误:如果遇到问题,利用游戏内的错误报告工具(如BugGrabber和BugSack)来捕捉可能出现的问题,并根据反馈继续优化。


汉化不需要任何代码基础,加上现在的ai,看不懂可以问ai。所有人每个新手能自己动手制作汉化插件或者wa。



WA例子


这里找到了一个WA的例子,是一个追踪每周知识点数获取的WA插件:


复制代码
local objectives = { {name="Disturbed Dirt or Expedition Scout"s Pack (Alchemy)", quests={66373, 66374}, optionKey="alchemy", skillID=171}, {name="Disturbed Dirt or Expedition Scout"s Pack (Blacksmithing)", quests={66381, 66382}, optionKey="blacksmithing", skillID=164}, {name="Disturbed Dirt or Expedition Scout"s Pack (Enchanting)", quests={66377, 66378}, optionKey="enchanting", skillID=333}, {name="Disturbed Dirt or Expedition Scout"s Pack (Engineering)", quests={66379, 66380}, optionKey="engineering", skillID=202}, {name="Disturbed Dirt or Expedition Scout"s Pack (Inscription)", quests={66375, 66376}, optionKey="inscription", skillID=773}, {name="Disturbed Dirt or Expedition Scout"s Pack (Jewelcrafting)", quests={66388, 66389}, optionKey="jewelcrafting", skillID=755}, {name="Disturbed Dirt or Expedition Scout"s Pack (Leatherworking)", quests={66384, 66385}, optionKey="leatherworking", skillID=165}, {name="Disturbed Dirt or Expedition Scout"s Pack (Tailoring)", quests={66386, 66387}, optionKey="tailoring", skillID=197}, {name="Elementious Splinter - Elemental Enemies (Alchemy)", quests={70511}, optionKey="alchemy", skillID=171}, {name="Decaying Phlegm - Rousing Decay Enemies (Alchemy)", quests={70504}, optionKey="alchemy", skillID=171}, {name="Molten Globule - Rousing Fire Enemies (Blacksmithing)", quests={70513}, optionKey="blacksmithing", skillID=164}, {name="Primeval Earth Fragment - Rousing Earth Enemies (Blacksmithing)", quests={70512}, optionKey="blacksmithing", skillID=164}, {name="Primalist Charm - Humanoid Primalist Enemies (Enchanting)", quests={70515}, optionKey="enchanting", skillID=333}, {name="Primordial Aether - Arcane Enemies (Enchanting)", quests={70514}, optionKey="enchanting", skillID=333}, {name="Infinitely Attachable Pair o" Docks - Dragonkin Enemies (Engineering)", quests={70517}, optionKey="engineering", skillID=202}, {name="Keeper"s Mark - Titan Enemies (Engineering)", quests={70516}, optionKey="engineering", skillID=202}, {name="Draconic Glamour - Dragonkin Enemies (Inscription)", quests={70519}, optionKey="inscription", skillID=773}, {name="Curious Djaradin Rune - Djaradin Enemies (Inscription)", quests={70518}, optionKey="inscription", skillID=773}, {name="Elegantly Engraved Embellishment - Nokhud/Sundered Flame Enemies (Jewelcrafting)", quests={70521}, optionKey="jewelcrafting", skillID=755}, {name="Incandescent Curio - Elemental Enemies (Jewelcrafting)", quests={70520}, optionKey="jewelcrafting", skillID=755}, {name="Exceedingly Soft Skin - Slyvern/Vorquin Enemies (Leatherworking)", quests={70523}, optionKey="leatherworking", skillID=165}, {name="Ossified Hide - Proto-drake or Proto-dragon Enemies (Leatherworking)", quests={70522}, optionKey="leatherworking", skillID=165}, {name="Ohn"arhan Weave - Nokhud Enemies (Tailoring)", quests={70524}, optionKey="tailoring", skillID=197}, {name="Stupidly Effective Stitchery - Gnoll Enemies (Tailoring)", quests={70525}, optionKey="tailoring", skillID=197}, {name="Dreambloom (Herbalism)", quests={71857, 71858, 71859, 71860, 71861, 71864}, optionKey="herbalism", skillID=182}, {name="Iridescent Ore (Mining)", quests={72160, 72161 ,72162, 72163, 72164, 72165}, optionKey="mining", skillID=186}, {name="Curious Hide (Skinning)", quests={70381, 70383, 70384, 70385, 70386, 70389}, optionKey="skinning", skillID=393}, {name="Draconic Treatise (Alchemy)", quests={74108}, optionKey="alchemy", skillID=171}, {name="Draconic Treatise (Blacksmithing)", quests={74109}, optionKey="blacksmithing", skillID=164}, {name="Draconic Treatise (Enchanting)", quests={74110}, optionKey="enchanting", skillID=333}, {name="Draconic Treatise (Engineering)", quests={74111}, optionKey="engineering", skillID=202}, {name="Draconic Treatise (Herbalism)", quests={74107}, optionKey="herbalism", skillID=182}, {name="Draconic Treatise (Inscription)", quests={74105}, optionKey="inscription", skillID=773}, {name="Draconic Treatise (Jewelcrafting)", quests={74112}, optionKey="jewelcrafting", skillID=755}, {name="Draconic Treatise (Leatherworking)", quests={74113}, optionKey="leatherworking", skillID=165}, {name="Draconic Treatise (Mining)", quests={74106}, optionKey="mining", skillID=186}, {name="Draconic Treatise (Skinning)", quests={74114}, optionKey="skinning", skillID=393}, {name="Draconic Treatise (Tailoring)", quests={74115}, optionKey="tailoring", skillID=197}, {name="Valdrakken Profession Quests (Alchemy)", quests={70530, 66940, 66938, 72427, 70532, 70531, 70533, 66937}, optionKey="alchemy", skillID=171, useWorldState=true}, {name="Valdrakken Profession Quests (Blacksmithing)", quests={66941, 70233, 66517, 66897, 70235, 72398, 70234, 70211}, optionKey="blacksmithing", skillID=164, useWorldState=true}, {name="Valdrakken Profession Quests (Enchanting)", quests={66884, 66900, 66935, 72155, 72172, 72173, 72175, 72423}, optionKey="enchanting", skillID=333, useWorldState=true}, {name="Valdrakken Profession Quests (Engineering)", quests={72396, 70545, 66891, 70540, 66890, 66942, 70557, 70539}, optionKey="engineering", skillID=202, useWorldState=true}, {name="Valdrakken Profession Quests (Herbalism)", quests={70614, 70613, 70616}, optionKey="herbalism", skillID=182, useWorldState=true}, {name="Valdrakken Profession Quests (Inscription)", quests={66943, 66944, 70559, 70561, 70558, 70560, 66945, 72438}, optionKey="inscription", skillID=773, useWorldState=true}, {name="Valdrakken Profession Quests (Jewelcrafting)", quests={66516, 70565, 66950, 66949, 72428, 70564, 70563, 70562}, optionKey="jewelcrafting", skillID=755, useWorldState=true}, {name="Valdrakken Profession Quests (Leatherworking)", quests={66364, 66951, 70569, 70568, 70567, 70571, 72407, 66363}, optionKey="leatherworking", skillID=165, useWorldState=true}, {name="Valdrakken Profession Quests (Mining)", quests={70617, 70618, 72157}, optionKey="mining", skillID=186, useWorldState=true}, {name="Valdrakken Profession Quests (Skinning)", quests={70620, 72159, 70619}, optionKey="skinning", skillID=393, useWorldState=true}, {name="Valdrakken Profession Quests (Tailoring)", quests={72410, 70587, 66952, 70586, 70572, 70582, 66953, 66899}, optionKey="tailoring", skillID=197, useWorldState=true}, {name="Crafting Order Quest (Blacksmithing)", quests={70589}, optionKey="blacksmithing", skillID=164}, {name="Crafting Order Quest (Engineering)", quests={70591}, optionKey="engineering", skillID=202}, {name="Crafting Order Quest (Inscription)", quests={70592}, optionKey="inscription", skillID=773}, {name="Crafting Order Quest (Jewelcrafting)", quests={70593}, optionKey="jewelcrafting", skillID=755}, {name="Crafting Order Quest (Leatherworking)", quests={70594}, optionKey="leatherworking", skillID=165}, {name="Crafting Order Quest (Tailoring)", quests={70595}, optionKey="tailoring", skillID=197}, } -- This returns true if at least one of the required quests is currently active. local is_active = function(objective) if not aura_env.config[objective.optionKey] then return false end if not objective.required_quests then return true end for _, q in ipairs(objective.required_quests) do if C_TaskQuest.GetQuestTimeLeftSeconds(q) or C_QuestLog.IsQuestFlaggedCompleted(q) then return true end end end

下面的内容较多,这里就省略了。

翻译思路

1. 找到需要翻译的关键信息

这里我们找到了需要汉化的信息,往往只有字符串是需要进行汉化的,因为我们只需要针对游戏中显示出来的信息进行翻译,那么就提取出来了上面的内容,先把他们保存下来!

2. 如果需要的话,先机翻减少工作量

这里涉及到语言处理的内容,里面有 namequests 这种人类语言相关的代码,我们使用机翻时很有可能会把他们也翻译掉,就失去了代码的意义,这里有2个解决办法:

  • 使用 chatGPT 或 new bing 这类的翻译工具,排查关键字
  • 将重复的关键字替换成合适的正则表达式,只翻译正则表达式

3. 人工核对检查和修改

重新核对一些必要的关键信息,请确保你翻译出来的内容拥有一个不错的质量!

结果展示

举例展示开头:lua


复制代码
local objectives = {{ name = "被扰动的泥土或远征侦察者的背包(炼金术)", quests = {66373, 66374}, optionKey = "alchemy", skillID = 171 }, { name = "被扰动的泥土或远征侦察者的背包(锻造)", quests = {66381, 66382}, optionKey = "blacksmithing", skillID = 164 }, { name = "被扰动的泥土或远征侦察者的背包(附魔)", quests = {66377, 66378}, optionKey = "enchanting", skillID = 333 }, {

作者:nesb01t


插件汉化教程


汉化插件的例子也大同小异,可以参考B站Up主教程。


本文讨论了流行的魔兽世界插件的本地化,特别是 DBM(致命 Boss 模组)和 WA(WeakAuras)。它探讨了将这些插件翻译成中文的方法和挑战,强调了社区协作和技术考虑对有效多语言支持的重要性。

亮点
? 本地化工作:DBM 和 WA 经过了大量的翻译工作来支持中国玩家。
? 社区参与:玩家社区在翻译过程中的作用至关重要。
?️ 技术挑战:为不同语言调整插件需要克服特定的技术障碍。
?️ 用户体验:本地化良好的插件可以增强非英语人士的整体用户体验。
? 文化相关性:本地化还需要了解翻译中的文化细微差别。
? 更新流程:原始插件的持续更新需要持续的本地化工作。
? 对游戏玩法的影响:有效的翻译可以显著改善游戏玩法和玩家的可访问性。
关键见解
? 本地化的重要性:本地化 DBM 和 WA 等插件不仅可以扩大其用户群,还可以营造更具包容性的游戏环境。通过翻译这些工具,开发人员可以确保来自不同语言背景的玩家可以享受相同的功能。
? 社区的作用:社区在本地化过程中起着关键作用。志愿者贡献他们的时间和专业知识,确保翻译保持准确和相关,从而加深玩家的参与度和忠诚度。
? 技术适应:翻译技术术语并确保与各种软件版本的兼容性带来了重大挑战。开发人员必须与社区密切合作,才能有效解决这些问题。
? 增强用户体验:执行良好的本地化可以带来更流畅、更愉快的游戏体验,让玩家专注于游戏玩法,而不是挣扎于语言障碍。
? 文化敏感性:有效的翻译不仅仅是语言;他们需要了解文化背景。这确保插件能引起当地玩家的共鸣并满足他们的期望。
? 持续维护:随着插件的更新,需要持续的本地化工作来保持翻译的更新。这个动态过程需要开发人员和志愿者之间的合作,以确保及时更新。
? 游戏可访问性:通过提供基本工具的本地化版本,开发人员显著增强了游戏可访问性,让玩家能够在游戏中制定策略并进行有效沟通。