How do I create a Localization file?
Sorry, my English is poor.
Strings-koKR.lua <--- I made a language file. For Strings-koKR.lua language files ------------------------------------------------------- if GetLocale() == "koKR" then Carbonite_Strings = { ["string"] = "문자열", } ------------------------------------------------------- and Carbonite.toc file ------------------------------------------------------- Locales\Strings-koKR.lua <--- added. ------------------------------------------------------- NxUI.lua local L = Carbonite_Strings <--- added It works fine. :) but Carbonite.lua, Carbonite.Nodes , NxQuest.lua etc local L = Carbonite_Strings <--- added error :( help me plz |
the acelocale stuff is just a placeholder for now, I haven't actually implemented it yet.
If you look in carbonites locale directory there's one large file that does all the current translations possible, which is where you'd need to add krKR strings. |
1 Attachment(s)
Thank you for your answers.
I have to translate a map name is translated as all the menus and npc and objective. NxUI.lua file is On the first line, add local L = Carbonite_Strings L ["String"] has been translated by using the menu. :) but Carbonite.Nodes , NxQuest.lua etc file is error I would like to Quest Tracking Window and addon-menu how to translate. local L = LibStub ("AceLocale-3.0"): GetLocale ("Carbonite", true) local L = LibStub ("AceLocale-3.0"): GetLocale ("Carbonite.Quest", true) .. Etc seems to be due. In previous versions, I put the following code in a file, the first line was used. Code:
local L = Carbonite_Strings |
1 Attachment(s)
Quest Title Translation files
|
1 Attachment(s)
NPC NAMES Translation files
|
All times are GMT -6. The time now is 09:04 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI