Skip to content

Instantly share code, notes, and snippets.

Hi XXXXXX
The #fr_FR team will do its best to get your request accepted ASAP. You can have more info <a href="https://fr.wordpress.org/2015/12/18/how-french-community-handles-pte-requests/">how we handle PTE requests</a>.
You also get in touch on the French Slack <a href="https://wordpressfr.slack.com/messages/C053XE6DT">#traductions</a> channel using <a href="https://wpfr.net/slack/">our direct invitation link</a>.
We have a few recommendations before giving PTE's access.
Please keep in mind the French Glossary and Guidelines available in <a href="https://fr.wordpress.org/team/">our French O2 Team</a> as well.

Keybase proof

I hereby claim:

  • I am bastienho on github.
  • I am bastienho (https://keybase.io/bastienho) on keybase.
  • I have a public key ASAWBXt1fmIuhiPLbdYOSQU225X2yhTMpJDpDnDKPLQYOQo

To claim this, I am signing this object:

@bastienho
bastienho / update-french-provinces.sh
Last active July 21, 2017 12:48
Mise à jour des régions françaises dans un site WordPress avec WP-cli
# Always make backup before working on a database
# Use at your own responsibility
wp search-replace "Alsace" "Grand Est";
wp search-replace "^Aquitaine$" "Nouvelle Aquitaine" --regex;
wp search-replace "^Auvergne$" "Auvergne-Rhône-Alpes" --regex;
wp search-replace "Basse-Normandie" "Normandie";
wp search-replace "^Bourgogne$" "Bourgogne-Franche-Comté" --regex;
wp search-replace "Champagne-Ardennes" "Grand Est";
wp search-replace "^Franche-Comté$" "Bourgogne-Franche-Comté" --regex;
@bastienho
bastienho / countries-locale.php
Last active December 23, 2015 16:12
Countries of the world in there own language
<?php
array(
"AC"=>"Ascension Island",
"AD"=>"Andorra",
"AE"=>"United Arab Emirates / الإمارات العربية المتحدة",
"AF"=>"Afghanistan / افغانستان / افغانستان",
"AG"=>"Antigua and Barbuda",
"AI"=>"Anguilla",
"AL"=>"Albania / Shqipëria",