Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Creare siti multilingue

1,752 views

Published on

Le slide della mia session del WordPress Day 2013 a Bologna

Published in: Technology, Business
  • Be the first to comment

Creare siti multilingue

  1. 1. WordPress Day Bologna 13/09/2013 Dennis Ploetner - @realloc - re@lloc.de Creare siti multilingue
  2. 2. Dnsmasq sudo apt-get install dnsmasq vi /etc/dnsmasq.conf sudo service dnsmasq restart
  3. 3. LAMP-Server sudo apt-get install lamp-server^ sudo vi /etc/apache2/sites-available/default sudo a2enmod rewrite sudo service apache2 restart
  4. 4. Config MySQL mysql -u root -p
  5. 5. WordPress sudo chown realloc.realloc /var/www rm -f /var/www/index.html wget http://wordpress.org/latest.zip unzip latest.zip && mv wordpress/* /var/www/ cd /var/www/ && cp wp-config-sample.php wp-config.php vi wp-config.php
  6. 6. http://example.com
  7. 7. wp-config.php
  8. 8. .htaccess
  9. 9. cd /var/www/wp-content/ svn export http://i18n.svn.wordpress.org/it_IT/trunk/messages/ languages/
  10. 10. http://translate.wordpress.org
  11. 11. http://translate.wordpress.org/projects/wp/3.6.x/twentythirteen/it/default
  12. 12. mv Scaricati/wp-3.6.x-twentythirteen-it.po /var/www/wp-content/themes/twentythirteen/languages/it_IT.po sudo apt-get install poedit poedit /var/www/wp-content/themes/twentythirteen/languages/it_IT.po
  13. 13. http://www.cssigniter.com/ignite/wordpress-poedit-translation-secrets/
  14. 14. unzip ./Scaricati/wordpress-mu-domain-mapping.0.5.4.3.zip mv wordpress-mu-domain-mapping/ /var/www/wp-content/plugins/
  15. 15. cd /var/www/wp-content/plugins/wordpress-mu-domain-mapping/ mv sunrise.php /var/www/wp-content/ vi /var/www/wp-config.php
  16. 16. unzip ./Scaricati/multisite-language-switcher.0.9.8.1.zip mv multisite-language-switcher/ /var/www/wp-content/plugins/

×