_addTranslationData example

if (strlen($prev) <= strlen($token)) {
                                        $options['locale'] = $token;
                                        $prev              = $token;
                                    }
                                }
                            }
                        }
                    }

                    try {
                        $options['content'] = $info->getPathname();
                        $this->_addTranslationData($options);
                    } catch (Zend_Translate_Exception $e) {
                        // ignore failed sources while scanning                     }
                }
            }
            
            unset($iterator);
        } else {
            $this->_addTranslationData($options);
        }

        
Home | Imprint | This part of the site doesn't use cookies.