Custom Localizations
Over the past few weeks we have implemented a secure system to supply custom localizations for ESO. Here are the steps for setting up a custom localization:
|
The changes from the last post are it no longer only supports a specific set of custom languages, and it now supports pregame.
|
This sounds great and I have two questions.
Does this affect the variable expansion of $(language) in the addon metafile in any way? And will GetCVar("language.2") return the custom language code as it has in the past? |
Yes to both. We are loading $(language)_pregame.str and $(language)_client.str.
|
In Russian localization we use custom fonts (because ESO doesn't support cyrillic charset). How can we replace default fonts with our custom fonts in pregame, loadscreens, Crown Store and other places that don't support public API?
|
Hmm, that's a stickier problem. I'll have to give some thought to it.
|
We could potentially do something like:
[Font:ZoFontGame] = "xyz.otf|32" Where this would make a font object with the name and descriptor. Would that be sufficient? |
Quote:
But we also have some font definitions in other places:
These places potentially may have problems with fonts replacement, so please check them too. |
Alright. The font directive is implemented as specified and we've moved those outlying font objects into the default def files.
|
Quote:
|
Turkish team leader here! First of all, thank you so much Chip. And I have a question for you. Can we have our own chat channels? I think /<prefix>zone or /$(language)zone should work. Generic channels would be good.
|
I've remembered two things about unsupported languages:
1. Technical support. You can't access to support, if your language is not en/de/fr. Can you make something like (pseudo code): if (unsupported_language) support = en; 2. Cinematic intro. If you launch game for the first time with unsupported language, you will see only black screen after login instead of character selection. Because game cannot find file \Video\Opening_Cinematic_[custom_language].bik. Can you add check for file existence, and if it doesn't exist, load English version of intro? |
Quote:
|
Patch have been downloaded, but language selection still locked to en/fr/de. What do we need to do to enable our languages?
|
Quote:
2) We added $(officialLanguage) and made use of that to load the right video. |
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Chip, can you tell us, why in ESO is available only latin (and extended latin, but not whole) charset? Why cyrillic, greek and other charsets are programmatically blocked? I saw you added support for letters ñ (for Spanish players) and å (for Scandinavian players). Is there any chance that you can add support for cyrillic letters?
|
Many thanks!
|
Hey Chip! Any news for us?
|
The known bugs have been fixed and are being verified. As for Cyrillic, the game font does not have glyphs for Cyrillic characters so we can't just add them to the base set. We'd have to do something special that would let them be used in localization but then not used in things like chat or guild/character names because those need to show up properly on clients that aren't using default fonts.
|
Chip, could you give us a rough idea of terms?
|
Quote:
First of all, many thanks for your work with community.:banana: Is it so hard to obtain cyrillic and other glyphs? If so, you could just add our characters to base set, but programmatically forbid to use them in user input, such as chat, guild and character names. I think, it will not affect user expierence of those who use default fonts. |
Chip, is there any chance that you will release update before the New Year?
|
looks like no patch 21 December either:(
|
Chip, please give us any info about release date.
|
It's been two months but still there is not even an information. If you're not going to release that patch, please just let us know.
|
Although I agree a ping every now and then is great he's not a lone wolf, Chip works for a company, a big one, he has procedures to follow and a boss to report to, etc, so take it easy guys.
Great relations with the community is good but not top priority of any company. :P |
This might not be entirely on topic, but I was wondering if it would be possible to add a method GetEngineString (or some other name) that can return any string that is located in the non-lua localization file.
That way it would be possible to use NPC name and location translations among other things in addons. |
Hey Chip! Any news for us?
|
Spamming here won't help. Just wait ? ZOS already respond that translation *will* come back. You just need to wait and meanwhile, improve translations..
If I was you, I'll focus for a resolution of your problem not before Thief Guild instead of asking myself every two days .. "will it be at next week ?" Chip is not only a dev, he's a boss, have a boss, got deadlines and got ultra critical things to do (already late!) before critical things to do (do it today !!), before urgent things to do (this weeks!) before low level features (after or while lunchtime / week-end / at home@VPN). |
I can officially say that the custom localization changes will be included on the PTS realm for the upcoming patch in early February. We had hopes to get the changes onto live earlier, but it ended up being an 80+ file hand coded merge with the live code base that we didn't feel confident to launch in an incremental patch environment.
|
Quote:
|
Quote:
|
FINALLY... YEAHHHHHHHHhh...
|
2.3.0 patch notes have been published, but I can't find any mention of custom localizations in it. Why?
|
Quote:
|
Trying to get them posted. I think community is busy with the game notes right now.
|
Hi Chip!
System works, but still have some bugs. 1. Font bugs on the character selection screen. File \esoui\pregame\characterselect\keyboard\zo_characterselect_keyboard.xml You forgot to change font definitions: http://i.imgur.com/QnDCfif.jpg 2. Crown Store doesn't work at all - both text and fonts: 1, 2, 3 3. Gamepad UI - a lot of font bugs: 1, 2, 3 As far as I remember these bugs were related to the function ZO_TooltipStyledObject:GetFontString(...), but I am not sure. 4. Chat Bubbles still doesn't work. If I find something else, I will write it here. |
Quote:
1. I have a fix in for this. 2. Nothing is allowed to touch crown store strings in any language right now for security reasons. This is unlikely to change. 3. These can be fixed by swapping out the fontFace properties in ZO_TOOLTIP_STYLES with your fonts. I'd probably just iterate the style tables and check for the fontFace property and if it exists swap it out with your font. 4. This one might be possible to add, but it isn't something chat bubbles can do right now. |
Quote:
2. Understandable. But how to remove these "[ENG]" prefixes then? Maybe you allow us atleast partial translation? For example names and descriptions only. As you can see above, we still can change Crown Store strings, but don't have proper fonts. 3. Thanks. |
I can swap it so it loads $(officialLanguage)_client.lua so the unhandled strings will be english instead of the [eng] strings.
|
Spanish translation is working fine except for Crown Store. TERAB1T's already described the problem. Thanks a lot for supporting us, Chip.
|
ESO Italia working too :D
|
Hey Chip!
All three bugs above are fixed, thanks for this. But I've found two other problems: 1. North direction on compass (SI_COMPASS_NORTH_ABBREVIATION) always uses original English string ("N"), not our modified string. In Russian "North" is "Север", so we need to use letter "С", not "N". We can fix this bug by ourselves, but a native fix is always better. 2. And again Crown Store. "[ENG]" prefixes are not a problem anymore, but we have some problems with fonts. When you hover on item, you can see this item's card with description. This description is not related to Crown Store, but still uses native fonts, not modified: http://i.imgur.com/VCGU7C5.jpg Can you allow us to use custom fonts in Crown Store? Custom fonts can't cause any security issues, right? Because we still can't change any interface strings there. |
Hey Chip! Any luck we'll have a fix for the problem above?
|
Quote:
|
Hey Chip!
Any news about Crown Store fix? It's very annoying bug, and for now this is the only bug, that we can't fix by ourselves. |
Okay, you said it's hard to fix. But how about this? We can move all fonts to separate .str file (say "*_fonts.str") and load this file in Crown Store UI without loading custom interface strings.
Our goal: we need to make custom fonts support, BUT we also want to disallow editing of interface strings in Crown Store. We have three files: 1. \esoui\pregamelocalization\pregamelocalization.txt Lua Code:
2. \esoui\ingamelocalization\ingamelocalization.txt Lua Code:
3. \esoui\internalingamelocalization\internalingamelocalization.txt Lua Code:
So what do we need to do? Move all fonts from $(language)_pregame.str and $(language)_client.str to the new file: $(language)_fonts.str. From now "pregame.str" and "client.str" will contain only strings, and "fonts.str" - only fonts. So those three files above can be changed like this: 1. \esoui\pregamelocalization\pregamelocalization.txt Lua Code:
2. \esoui\ingamelocalization\ingamelocalization.txt Lua Code:
3. \esoui\internalingamelocalization\internalingamelocalization.txt Lua Code:
I don't know is it possible (since I don't know how the system works on deeper levels), but I hope this will help. What do you think? |
Chip, tell us something please. If you are not going to fix this, just say so. So we can stop waiting. Ignoring is the worst.
|
We have started a discussion on ESO forums https://forums.elderscrollsonline.co...roken-in-2-4-0
|
We have ZOS answer on our issue, but no real actions yet(
https://forums.elderscrollsonline.co...omment_3004397 |
With some of the new tech for the Japanese client that just went in with Dark Brotherhood we can dynamically add letters to the font at run time. With this we could allow alphabets like Cyrillic to be used even though the game fonts don't have any glyphs for those characters. In the game font they would appear as boxes, but with a font file that has those glyphs it would work. This would mean there would be no need to remap Cyrillic onto other supported characters, which would allow the crown store to show up in English correctly. What do you think of that idea?
|
Quote:
1. Crown Store Sometimes Crown Store loads Russian strings (especially in tooltips), but Crown Store uses default fonts (without cyrillic characters), so we see broken names, descriptions etc. Take a look: So our problem is not in the characters remapping, our problem is in inability to load custom fonts. If we'll use normal cyrillic characters, our Crown Store still will be broken, but instead of incorrect latin characters we'll see boxes, because we can't remap the whole font (e.g. "EsoUI/Common/Fonts/Univers67.otf" -> "RuESO/Fonts/Univers67.otf"). 2. Chat Bubbles and Nameplates These features don't have an ability to change their fonts. Can we have something similar to SetSCTKeyboardFont(...) and SetSCTGamepadFont(...), but for Chat Bubbles and Nameplates please? And one more thing - I noticed your recent changes with charset system. And I tried to use native cyrillic characters, but saw only boxes (even with proper fonts with cyrillic support). How to use it properly? |
Okay, I think I see the issue. Then I propose 3 changes:
Would that be sufficient to fix all of the issues? |
Quote:
|
The first two changes should be on the first PTS build.
|
All times are GMT -6. The time now is 08:01 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI