A first look at Drupal 8 translation

Read the original article on

Disclaimer: Drupal 8 is still in a very early stage. Therefore, some examples or content in this article is subject to change without notice.

Translating content in Drupal isn’t a straightforward task in Drupal 7. That is why they made it a priority in Drupal 8 to make this process smoother. They even created a whole initiative that you can follow here.

Let’s take a look at what is needed to get up and running with a multilingual website in Drupal 8.

Use Xdebug profiler with PhpStorm

Today I played around a while trying to configure Xdebug profiler to work with PhpStorm.  The following config only apply to a local LAMP stack with Xdebug installed with homebrew.

Here is the xdebug.ini I used :

xdebug.profiler_enable_trigger = 1;

The folder you choose for the output must be writable by the server. You can also be lazy and do : chmod 777 /PATH/TO/DIRECTORY

Once this is set, you can use this nifty little chrome plugin to start profiling.

The output will be written to the folder you specified. You can use it and let PhpStorm interpret the result for you by choosing : Tools | Analyze XDebug Profiler Snapshot.

PhpStorm custom icons

I stumble upon an excellent icon alternative made by Bernard Kowalski to the boring standard PhpStorm icon. You can download it here 😉

Here are the steps to replace your PhpStorm icon so it shows within the application itself:

  1. Right-click on and Show Package Contents
  2. Navigate to Contents/Resources/
  3. Replace webide.icns with custom icon (making sure the name is exactly the same)



Why is my site broken?

If you are a WordPress developer/freelancer, I’m pretty sure you’ve heard your client say this more than once. Unfortunately, there is no core user activity log in WordPress and no easy way to tell who broke the site by modifying that “pesky” blog settings. Of course, one could remove admin privileges on the site, but is that really a solution?

I’ve recently been contributing to a plugin called Stream to solve exactly that problem. Please try it out and give us feedback!


Optimize your Vagrant workflow with WP-CLI SSH

Read the original article on

One pitfall I’ve recently encountered with Vagrant and WP-CLI was the lack of an easy way to use my local WP-CLI installation to send a command to my Vagrant box.

X-Team’s Weston Ruter first developed an incredible tool called vassh, which basically removes the pain of having to manually SSH into the Vagrant box and run the command from the project root. While vassh is really useful, it only works for Vagrant and not for remote servers.

After working closely with the WP-CLI team and refactoring multiple times, we finally came up with something called “WP-CLI SSH” which facilitates running WP-CLI commands on other servers, while invoking WP-CLI normally as if it was on your own system.