Answers.Body: <p>I'm not entirely sure <em>why</em> you need to resave all the entries but I do know <em>how</em> you can do it quickly and easily. I'd recommend using the <a href="https://github.com/TopShelfCraft/Walk" rel="nofollow noreferrer">Walk plugin</a> by Michael Rog to do this.</p>
  
  <p>The plugin is pretty well-documented in the repository README, but I'll outline the steps here for you as well:</p>
  
  <ol>
  <li>Download the plugin folder, drop it in <code>/craft/plugins</code>, and install the plugin in the Craft CP.</li>
  <li>Add the <code>yiic</code> file from the repository into the base folder of your Craft install (next to the <code>craft</code> folder).</li>
  <li><p>Open your terminal, <code>cd</code> to your Craft install, and run the following:</p>
  
  <pre><code>php yiic walk entries --section=blog --limit=null entries.save
  </code></pre>
  
  <p><em>Obviously replace</em> <code>blog</code> <em>with the name of your section.</em></p></li>
  </ol>
  
  <p>Hopefully that does the trick for you! Let me know if you have any questions...</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-03-09T08:54:13.923Z
Answers.Text: Thanks, that sounds like a quick and easy solution. Any idea why I get this error?
  
  CDbConnection failed to open the DB connection: SQLSTATE[HY000] [2002] No such file or directory
  in /Applications/MAMP/htdocs/website/craft/app/etc/behaviors/AppBehavior.php (876)
  in /Applications/MAMP/htdocs/website/craft/app/etc/console/ConsoleApp.php (216)
  in /Applications/MAMP/htdocs/website/craft/app/etc/behaviors/AppBehavior.php (80)
  
  already tried everything meanting here: https://craftcms.stackexchange.com/questions/7127/using-yiic-for-plugin-migration
Answers.UserDisplayName: Jan
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-03-09T15:45:21.093Z
Answers.Text: @Jan yeah it sounds like it's having a hard time finding the db credentials and thereby establishing a connection. Where are you setting these - in a .env file, in your Craft config, index.php, etc?
Answers.UserDisplayName: Jalen Davenport
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-03-09T20:43:43.720Z
Answers.Text: unix_socket=/Applications/MAMP/tmp/mysql/mysql.sock did the trick for me. Check https://stackoverflow.com/questions/41852050/yii-console-command-cant-connect-to-database?rq=1
  
  But the plugin didnt help yet, since I have to actually change something in the entry field so SEOmatic updates the SEO title field...
Answers.UserDisplayName: Jan
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-03-08T12:25:24.000Z
Answers.LastActivityDate: 2018-03-08T12:25:24.000Z
Answers.UserDisplayName: Jalen Davenport
Body: <p>I have switched the field of the SEOmatic plugin to translateable. All the SEO Titles are taken from the entry title. After changing to translateable I can see the translated fields in the SEO Title field but I need to save the entry again to see that on the website. Until then, the title is just in one language. Why is that? Is there any way to automate that, since I have a hundreds of entries and I dont want to do that manually.</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-03-08T11:45:29.977Z
Comments.Text: You can loop through all entries and re-save them in php. There are plenty examples how to save entries in the web. https://craftcms.stackexchange.com/questions/5385/plugin-controller-save-entry fetch them all like you are used to in twig and loop through them. I don't see any issues
Comments.UserDisplayName: Robin Schambach
Tags: <entries><plugin-seomatic>
Title: Re-Saving neccessary?
ThreadText: # Re-Saving neccessary?
  
  (Asked by: username_0 on 2018-03-08)
  
  I have switched the field of the SEOmatic plugin to translateable. All the SEO Titles are taken from the entry title. After changing to translateable I can see the translated fields in the SEO Title field but I need to save the entry again to see that on the website. Until then, the title is just in one language. Why is that? Is there any way to automate that, since I have a hundreds of entries and I dont want to do that manually.
  
  **Tags:** entries, plugin-seomatic
  
  > **Comments:**
  > **username_1**: You can loop through all entries and re-save them in php. There are plenty examples how to save entries in the web. https://craftcms.stackexchange.com/questions/5385/plugin-controller-save-entry fetch them all like you are used to in twig and loop through them. I don't see any issues  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2018-03-08. Score: 2
  
  I'm not entirely sure *why* you need to resave all the entries but I do know *how* you can do it quickly and easily. I'd recommend using the [Walk plugin](https://github.com/TopShelfCraft/Walk) by Michael Rog to do this.
  
  The plugin is pretty well-documented in the repository README, but I'll outline the steps here for you as well:
  
  1. Download the plugin folder, drop it in `/craft/plugins`, and install the plugin in the Craft CP.
  2. Add the `yiic` file from the repository into the base folder of your Craft install (next to the `craft` folder).
  3. Open your terminal, `cd` to your Craft install, and run the following:
  
     ```
     php yiic walk entries --section=blog --limit=null entries.save
  
     ```
  
     *Obviously replace* `blog` *with the name of your section.*
  
  Hopefully that does the trick for you! Let me know if you have any questions...
  
  > **Comments:**
  > **username_0**: Thanks, that sounds like a quick and easy solution. Any idea why I get this error?  CDbConnection failed to open the DB connection: SQLSTATE[HY000] [2002] No such file or directory in /Applications/MAMP/htdocs/website/craft/app/etc/behaviors/AppBehavior.php (876) in /Applications/MAMP/htdocs/website/craft/app/etc/console/ConsoleApp.php (216) in /Applications/MAMP/htdocs/website/craft/app/etc/behaviors/AppBehavior.php (80)  already tried everything meanting here: https://craftcms.stackexchange.com/questions/7127/using-yiic-for-plugin-migration  
  > **username_2**: @username_0 yeah it sounds like it's having a hard time finding the db credentials and thereby establishing a connection. Where are you setting these - in a .env file, in your Craft config, index.php, etc?  
  > **username_0**: unix_socket=/Applications/MAMP/tmp/mysql/mysql.sock did the trick for me. Check https://stackoverflow.com/questions/41852050/yii-console-command-cant-connect-to-database?rq=1  But the plugin didnt help yet, since I have to actually change something in the entry field so SEOmatic updates the SEO title field...  
  
  ---
  
  