protected function compileLanguage($value)
	{
		$pattern = $this->createMatcher('lang');

		$value = preg_replace($pattern, '$1<?php echo \Fly\Support\Facades\Lang::get$2; ?>', $value);

		$pattern = $this->createMatcher('choice');

		return preg_replace($pattern, '$1<?php echo \Fly\Support\Facades\Lang::choice$2; ?>', $value);
	}
protected function compileLanguage($value)
	{
		$pattern = $this->createMatcher('lang');

		$value = preg_replace($pattern, '$1<?php echo \Fly\Support\Facades\Lang::get$2; ?>', $value);

		$pattern = $this->createMatcher('choice');

		return preg_replace($pattern, '$1<?php echo \Fly\Support\Facades\Lang::choice$2; ?>', $value);
	}
protected function compileLanguage ( $ value ) { $ pattern = $ this -> createMatcher ( 'lang' ) ; $ value = preg_replace ( $ pattern , '$1<?php echo \Fly\Support\Facades\Lang::get$2; ?>' , $ value ) ; $ pattern = $ this -> createMatcher ( 'choice' ) ; return preg_replace ( $ pattern , '$1<?php echo \Fly\Support\Facades\Lang::choice$2; ?>' , $ value ) ; }
Compile Sword language and language choice statements into valid PHP.

@param  string  $value
@return string
Compile Sword language and language choice statements into valid PHP .