I have a script attached to a page open action that gets the name of the file and gets a language code from said file name then turns on the appropriate layer for that language. Is there a way to either delay the page from displaying until the layer is turned on or some other option?
English is default layer that is turned on. I'm looking for a faster way to get the language layer to display so English layer doesn't appear for a split second.
How about setting it up so that neither of the language layers are displayed until you do so with your code?
Yeah. That's what I ended up doing after I posted this.