Hi,
i have multilingual website. My config is below. When i run text collector, files cs.yml are created with cs lang. But in config i have cs_CZ lang set. This would not matter so much, but when i create en.yml with en lang and translated text, than EN translated text is displayed in cs lang too and original lang text from cs is not visible. Can you help me ? Thanks.
// Set the site locale
Translatable::set_default_locale("cs_CZ");
$allowed_locales = array(
'cs_CZ' => array('CZ', 'Česky'),
'en_US' => array('EN', 'English'),
);
i18n::$common_locales = $allowed_locales;
i18n::set_default_locale('cs_CZ');
i18n::set_locale('cs_CZ');
i18n::set_locale('en_EN');
Second question is if i can use partial caching with translation blocks like this :
<% Locale.Nice %>
<legend><%t BranchFilter.name "Název" %></legend>
<% end_cached %>