Or are you asking about how to access the abbreviation in a template?

@Joe For Fluent, I think you set the URL segment in the CMS at admin/locales

FulltextSearchable::enable(); in the _config.php file would simply generate a search form we could put anywhere

DOes SS4 not have a simple SiteSearch like SS3 had?

Anyone using Fluent? $ContentLocale returns a 5 letter code, ie /en-UK/MyPage, but i only want the short, 2 letter code which is used throughout the links, ie /en/MyPage <= any ideas how to get this?

I suppose I could run exec and pass the dev/build command

So here's a question, is there anyway of running a dev/build after SilverStripe has started executing?