public function localize(array $translatableStrings)
    {
        if (NULL === $translatableStrings) {
            return NULL;
        }
        
        $language = $this->requestStack->getCurrentRequest()->getLocale();
        

        if (isset($translatableStrings[$language])) {
            
            return $translatableStrings[$language];
        } else {
            foreach ($this->fallbackLocales as $locale) {
                if (array_key_exists($locale, $translatableStrings)) {
                    
                    return $translatableStrings[$locale];
                }
            }
            
        }
    
        return '';

    }