Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- //_config.php
- i18n::enable();
- i18n::set_default_lang('nl');
- i18n::set_locale('nl_NL');
- Translatable::set_default_locale('nl_NL');
- Translatable::set_allowed_locales(array(
- 'nl_NL',
- 'de_DE'
- )
- );
- Object::add_extension('SiteTree', 'Translatable');
- // template Booking_page.ss
- <% _t('Booking.BOOKINGPERIOD',"Verblijfsduur") %>
- // de_DE.php
- $lang['de_DE']['Booking']['BOOKINGPERIOD'] = 'Aufenthalt';
Add Comment
Please, Sign In to add comment