title: Replace javascript text with jquery or other in HTML code
body: <p>i have my main page (index.php) with look as :</p>
  
  <pre><code>&lt;?php start_session();
      ... PHP CODE ...
  ?&gt;
  &lt;html&gt;
     ... HTML CODE ...
  
  &lt;script type="text/javascript"&gt;
          var bscTexts =
                  {
                      signup: {
                          cropPicture: 'Crop your profile picture',
                      },
                      home: {
                          noFavorites: 'You haven´t added any profiles as favorites'
                      },
                      general: {
                          errorUploading: 'Error uploading, please try again',
                          successfulUploading: 'Votre photo a bien été obtenue',
                          chooseAnotherPicture: 'Choisir une autre photo',
                          loadingMore: 'Loading, please wait...'
                      },
                      notificationBubbles: {
                          /*InterestedInYou */            1: {
                              Text: '[Name] has shown interest in you',
                              Url: "/match/interestedinme"
                          },
                          /*Match */                      2: {
                              Text: 'You and [Name] are now a match',
                              Url: "/match/matches"
                          },
                          /*WinkSent */                   3: {
                              Text: 'You have received a wink from [Name]',
                              Url: "/home/socialstream"
                          },
                          /*LovedPicture */               4: {
                              Text: '[Name] loves one of your pictures',
                              Url: "/home/socialstream"
                          }
                      }
                  };
      &lt;/script&gt;
  ... OTHER HTML CODE ...
  &lt;/html&gt;
  </code></pre>
  
  <p>I would like to know if is possible to replace the text (string statement) with jquery or other (dom)</p>
  
  <p>for example :</p>
  
  <p>if i call alert(bscTexts.signup.cropPicture); the result is popup alert with "Crop your profile picture"</p>
  
  <p>i need to know if is possible after the page is loaded with jquery, javascript or other to replace  "Crop your profile picture" with french translation to obtain this :</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      var bscTexts =
              {
                  signup: {
                      cropPicture: 'Redimensionnez votre photo',
                  }
  &lt;/script&gt;
  </code></pre>
  
  <p>This is for example so i need to change ALL strings.</p>
  
  <p>Thank you for your helping !</p>