ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   General Authoring Discussion (https://www.esoui.com/forums/forumdisplay.php?f=174)
-   -   Custom Localizations (https://www.esoui.com/forums/showthread.php?t=5290)

TERAB1T 06/22/16 12:53 PM

Quote:

Originally Posted by ZOS_ChipHilseberg (Post 27512)
The first two changes should be on the first PTS build.

Great news! Thanks!

bssthu 07/11/16 08:02 PM

1 Attachment(s)
Hi Chip!

We are working Chinese localization.

The game client supports some Chinese characters. Howerer, other characters such as "简体" would appear as boxes. Loading custom fonts solves the problem in some places, but in some places (especially when using other addons), there would be boxes.

Attachment 762

Is it possible to allow Simple Chinese characters in game UI? Thank you.

votan 07/11/16 11:40 PM

Quote:

Originally Posted by bssthu (Post 27755)
Hi Chip!

We are working Chinese localization.

The game client supports some Chinese characters. Howerer, other characters such as "简体" would appear as boxes. Loading custom fonts solves the problem in some places, but in some places (especially when using other addons), there would be boxes.

Attachment 762

Is it possible to allow Simple Chinese characters in game UI? Thank you.

@Chip: We (mainly Lionas :)) had the problem with Potion Maker, too.
We found that $(CHAT_FONT)="EsoUI/Common/Fonts/ESO_FWUDC_70-M.ttf" supports more chars than $(BOLD_FONT)="EsoUI/Common/Fonts/ESO_FWNTLGUDC70-DB.ttf".

ZOS_ChipHilseberg 07/12/16 08:53 AM

If the characters show up when using another font then it's just that the Japanese game font doesn't have glyphs for those characters. We are not able to fix that. However if it shows up as a box with a font that does have the glyph (like it shows up fine in notepad) then we can look at adding more to the character set for the game.

TERAB1T 08/04/16 11:48 AM

Hey Chip! I have a few questions.

1. Filter in Collections window is case-sensitive, when I type in Russian. If I type in English, everything is okay. Is there any way to fix this?
2. Are there any news about API support for Chat Bubbles and Nameplates?
3. How to change date format in Achievements window? Now it uses format "mm/dd/yyyy", but we use "mm.dd.yyyy" in Russia. It will be cool to have an API method to change date format globally.
4. Can you please replace native Cyrillic with something more readable? In RuESO we use custom fonts, so we don't have a such problem. But those who don't use RuESO complain about quality of native Cyrillic. Just look at this:



Too much space between characters and bad quality overall. It uses Japanese font now, right?

TERAB1T 08/15/16 11:07 AM

Chip, can we have some answers please?

DarioZ 09/04/17 08:07 AM

No answers :(

Scootworks 09/04/17 08:14 AM

http://www.esoui.com/forums/showthread.php?t=7297

rockingdice 09/06/17 09:57 AM

Quote:

Originally Posted by ZOS_ChipHilseberg (Post 27760)
If the characters show up when using another font then it's just that the Japanese game font doesn't have glyphs for those characters. We are not able to fix that. However if it shows up as a box with a font that does have the glyph (like it shows up fine in notepad) then we can look at adding more to the character set for the game.


Can we have an option to alter the original game fonts? Perhaps change to key-value pair to a new one?

For localization, these fonts need to be replaced by others:
Lua Code:
  1. <String name="MEDIUM_FONT" value="EsoUI/Common/Fonts/ESO_FWNTLGUDC70-DB.ttf" />
  2.     <String name="BOLD_FONT" value="EsoUI/Common/Fonts/ESO_FWNTLGUDC70-DB.ttf" />
  3.     <String name="CHAT_FONT" value="EsoUI/Common/Fonts/ESO_FWUDC_70-M.ttf" />
  4.  
  5.     <String name="GAMEPAD_LIGHT_FONT" value="EsoUI/Common/Fonts/ESO_FWNTLGUDC70-DB.ttf" />
  6.     <String name="GAMEPAD_MEDIUM_FONT" value="EsoUI/Common/Fonts/ESO_FWNTLGUDC70-DB.ttf" />
  7.     <String name="GAMEPAD_BOLD_FONT" value="EsoUI/Common/Fonts/ESO_FWNTLGUDC70-DB.ttf" />
  8.  
  9.     <String name="ANTIQUE_FONT" value="EsoUI/Common/Fonts/ESO_FWNTLGUDC70-DB.ttf" />
  10.     <String name="HANDWRITTEN_FONT" value="EsoUI/Common/Fonts/ESO_FWNTLGUDC70-DB.ttf" />
  11.     <String name="STONE_TABLET_FONT" value="EsoUI/Common/Fonts/ESO_FWNTLGUDC70-DB.ttf" />

Or we have to modify all the add-ons which use these fonts one by one. That's not good for other languages.

Currently we can replace the font in this way in {lang}_client.str:
Code:

[Font:ZoFontGame] = "CustomLang/fonts/univers57.otf|18|soft-shadow-thin"
Is there any way to change GAMEPAD_LIGHT_FONT's value?

ZOS_ChipHilseberg 09/06/17 04:43 PM

Quote:

Originally Posted by TERAB1T (Post 27962)
Hey Chip! I have a few questions.

1. Filter in Collections window is case-sensitive, when I type in Russian. If I type in English, everything is okay. Is there any way to fix this?
2. Are there any news about API support for Chat Bubbles and Nameplates?
3. How to change date format in Achievements window? Now it uses format "mm/dd/yyyy", but we use "mm.dd.yyyy" in Russia. It will be cool to have an API method to change date format globally.
4. Can you please replace native Cyrillic with something more readable? In RuESO we use custom fonts, so we don't have a such problem. But those who don't use RuESO complain about quality of native Cyrillic. Just look at this:



Too much space between characters and bad quality overall. It uses Japanese font now, right?

1) Seems like a failure of the toupper function for Russian. It might be something with the locale not being set properly for non-official languages.
2) Haven't had a chance to add these yet.
3) This data is hard coded to the official language type. It would need to be changed to some sort of locale based call on PC.
4) This would require licensing a new font for a language that is not officially supported which makes it unlikely. I can try to raise the idea or see if we can Frankenstein another font into this one but it's not an easy thing to do.

Dolgubon 09/06/17 07:16 PM

Could a standalone addon for changing the Russian font be made? Then if a player understands russian but does not want to use RuESO, they can use that addon. If they don't understand Russian, then it's not a huge problem.

Ayantir 09/07/17 02:35 AM

In pChat, I've added few fonts, all Open Source, which render very nicely with RU characters. I think the DejaVu or the Ubuntu one is the best, don't remember exactly.

TERAB1T 09/08/17 09:33 AM

Quote:

Originally Posted by ZOS_ChipHilseberg (Post 32548)
2) Haven't had a chance to add these yet.

Actually you did it already :) Now we can change the font of chat bubbles and nameplates, which is great.

Quote:

Originally Posted by Dolgubon (Post 32549)
Could a standalone addon for changing the Russian font be made? Then if a player understands russian but does not want to use RuESO, they can use that addon. If they don't understand Russian, then it's not a huge problem.

http://esoui.com/downloads/info1442-...llicFonts.html

rockingdice 09/27/17 08:31 AM

Quote:

Originally Posted by ZOS_ChipHilseberg (Post 24329)
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?

So chip, it's not sufficient.

I've already ask in the other post but I'll ask once again...

There's some situation that the code is not using ZoFont*****, but "$(GAMEPAD_MEDIUM_FONT)" instead. If we cannot replace the value of GAMEPAD_MEDIUM_FONT, we cannot replace the font.

You can see the file:
esoui\esoui\common\tooltip\tooltipstyles.lua

Lua Code:
  1. tooltip =
  2.     {
  3.         width = ZO_GAMEPAD_CONTENT_WIDTH,
  4.         paddingLeft = 0,
  5.         paddingRight = 0,
  6.         fontFace = "$(GAMEPAD_MEDIUM_FONT)",
  7.         fontColorType = INTERFACE_COLOR_TYPE_GAMEPAD_TOOLTIP,
  8.         fontColorField = GENERAL_COLOR_GREY,
  9.         fontStyle = "soft-shadow-thick",
  10.     },

Also, there's a major issue that most add-on authors are not using ZoFont***** at all, they use like '$(GAMEPAD_MEDIUM_FONT)|$(GP_61)|soft-shadow-thick', and if we want to localize those add-ons, we have to modify their codes to change to other fonts.

So we need a way to change the value of:

Lua Code:
  1. <String name="MEDIUM_FONT" value="EsoUI/Common/Fonts/Univers57.otf" />
  2.     <String name="BOLD_FONT" value="EsoUI/Common/Fonts/Univers67.otf" />
  3.     <String name="CHAT_FONT" value="EsoUI/Common/Fonts/Univers57.otf" />
  4.    
  5.     <String name="GAMEPAD_LIGHT_FONT" value="EsoUI/Common/Fonts/FTN47.otf" />
  6.     <String name="GAMEPAD_MEDIUM_FONT" value="EsoUI/Common/Fonts/FTN57.otf" />
  7.     <String name="GAMEPAD_BOLD_FONT" value="EsoUI/Common/Fonts/FTN87.otf" />
  8.  
  9.     <String name="ANTIQUE_FONT" value="EsoUI/Common/Fonts/ProseAntiquePSMT.otf" />
  10.     <String name="HANDWRITTEN_FONT" value="EsoUI/Common/Fonts/Handwritten_Bold.otf" />
  11.     <String name="STONE_TABLET_FONT" value="EsoUI/Common/Fonts/TrajanPro-Regular.otf" />


All times are GMT -6. The time now is 07:39 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI