Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

A couple of problems with silverstripe - Languages


Go to End


3 Posts   2332 Views

Avatar
Anselmo

6 Posts

14 December 2007 at 12:42pm

Edited: 14/12/2007 1:23pm

Hi,

I'm having some problems with languages:

1- I enabled in18 as in the docs and set the main language to pt, like this:
i18n::enable();
i18n::set_default_lang('pt_PT');
Then in the cms I created a new trasnlation (en), and all gone as expected, the dropdown with the language switcher appears at the bottom of the site tree. But when I edit a page or go to other section of the cms and then comeback to editing, the language switcher disappears.

2 - When I allow comments on pages, the output in the site shows me the form for comments in english, although the main language I set is (pt_PT). Is it translatable? Am I doing something wrong? Can I have the site just in one language, for example, portuguese?

3- I posted some comments to test, and the time that appears on comments has one hour plus, but inside the cms it is correct.

I hope I'm not asking to much.

Thanks in advance

Avatar
rbarreiros

Community Member, 21 Posts

16 December 2007 at 2:03am


Hello Anselmo,

Those strings are currently translateable (meaning the translation support has been added) in the SVN version (development), just waiting for the translate.silverstripe.org to be updated with more strings to translate, when it does, you will be able to update your translations there to get always the latest of the latest without downloading the development version.

I'm doing the pt_PT translation and adding a few more translation strings, if you need any help, or find something wrong regarding the translations into Portuguese please let me know.

Best regards,

Avatar
pjssms

Community Member, 49 Posts

20 October 2008 at 12:16pm

Hello,

I have tried the page about i18 and my page just went blank.

Have you managed to have the site in more than one language ?.

How is the demo done ? I was expecting to have one translation tab like that ...

Thank you,

Paulo Santos