WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Legion Beta archived threads (https://www.wowinterface.com/forums/forumdisplay.php?f=177)
-   -   When is GlobalStrings? (https://www.wowinterface.com/forums/showthread.php?t=53480)

siweia 05-23-16 01:41 AM

Where is GlobalStrings?
 
It is used to be in the FrameXML/GlobalStrings, but not in LEG.
Does anyone know where it goes?

ObbleYeah 05-23-16 05:45 AM

it got moved to a data file within the game client, no longer publicly accessible via framexml

its still viewable via townlong-yak, who have extracted it and hosted it as it existed previously in a dummy file:
https://www.townlong-yak.com/framexm...balStrings.lua

myrroddin 05-23-16 06:57 AM

Silly question, maybe. Can you still use GlobalStrings the same way as previous?
Lua Code:
  1. print(ABANDON_PET)
  2. -- >> Are you sure you want to permanently abandon your pet? You will never be able to summon this pet again."

Torhal 05-23-16 07:00 AM

Yes, you can - it's just loaded in via C now. Otherwise, plenty of things (including the default UI) would be broken.

Rainrider 05-23-16 08:30 AM

You could look them up here. Don't know how they got them though, but the strings are probably in some db file right now.

EDIT: Sorry for the useless reply

galvin 05-23-16 11:05 AM

Does moving stuff to a db file speed things up some how vs using lua?

Fizzlemizz 05-23-16 11:33 AM

Either way, they get loaded into memory so no real advantage at run time. The db file probably means they only get loaded once.

Predicate 05-23-16 12:00 PM

The reasoning for this was discussed on IRC; the primary advantage for Blizzard is that db2 files use the CASC streaming data system, so they can update GlobalStrings as needed without having to push a client update.

Lombra 05-23-16 12:20 PM

Without having thought it through.. when will that be useful?

SDPhantom 05-23-16 02:01 PM

GlobalStrings.lua was an exported list of localized strings. This was before they started injecting values directly into Lua globals. It makes sense to skip importing an exported list and just inject the strings directly. In the long run, manipulating the Lua backend to do so probably results in marginally quicker load times compared to relying on setting the values through the Lua engine. This also allows centralized storage of all localization and easy correction of localization errors.

galvin 05-24-16 12:23 AM

Wish they would do this for tooltips. Tooltips can be out of date for months on live before a patch comes along.

TOM_RUS 05-24-16 11:19 AM

Quote:

Originally Posted by galvin (Post 315185)
Wish they would do this for tooltips. Tooltips can be out of date for months on live before a patch comes along.

They can update nearly everything without patching client in Legion, including tooltips.

Simca 05-28-16 07:04 AM

Quote:

Originally Posted by TOM_RUS (Post 315189)
They can update nearly everything without patching client in Legion, including tooltips.

Whether they actually will do that remains to be seen though. They don't like to get things out of sync between localizations, and hotfixes to tooltips would require all of their localization teams to be doing high-priority localizations in the middle of other things.


All times are GMT -6. The time now is 12:11 PM.

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