I suggest you ...

Add a path or pattern to localize javascript; en-us, en-gb, etc...

Good or bad, there are times that I have JavaScript that does something to the effect: alert("Invalid Form Fields"). Bad example I know..but I have text scattered throughout my JavaScript files.

Where should these be abstracted to? Is there a reall cool pattern or method I don't know about? Resource files that gets rendered as some JavaScript object that contains all strings?

1 vote
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    BrianBrian shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    1 comment

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base