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
(thinking…)
Password icon
Signed in as (Sign out)
You have left! (?) (thinking…)
Anonymous shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

1 comment

Sign in
(thinking…)
Password icon
Signed in as (Sign out)
Submitting...
  • Anonymous commented  ·   ·  Flag as inappropriate

    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