Translations:Extension:YouTube/38/en

So for the URL: $url the ID code would be $2.