Advice needed for multi-lang. landers and changing photo by token

kostya3d

Contributor
Joined
Oct 1, 2019
Messages
28
Hey guys!

For making landing multilingual, I want to put all texts in objects (or associative arrays) and insert them using vanilla JS. I think it's very handy. Do you think doing it on load using JS is ok? Can there be any problems maybe I am not aware (like client's mobile browser may not process js?)? On other hand I can do it using PHP, but the server involved may cause additional delay, or not? (vps is good)

Same thing for photos. It's great to use some object/array for them. Is it okay to make a page, where the photos (one or two) will be inserted by JS? Or the delay is possible and PHP must be used? I thought, that if it's plain JS, no libraries, should work fast with just short
 
To view the premium content in our affiliate marketing forum (including this awesome thread), you must first register and upgrade your account. Register today and become a part of our amazing community!
Top