I suggest you ...

Anything that might be localized (text, url's) should be taken out of the .js files

Anything that might be localized (text, url's) should be taken out of the .js files. Not sure what is the better implementation, but may allow us to use json to "feed" the data into the appropriate classes and functions?

1 vote
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Anonymous shared this idea  ·   ·  Admin →

    1 comment

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      Submitting...
      • Anonymous commented  · 

        Specifically I need to somehow replace the PhotoSwipeUI_Default.sharebuttons[].label English texts with texts localized to the user's language. How do I do this at runtime?

      Feedback and Knowledge Base