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.

Archive /

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

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

Translation of Page Meta Description Field not possible

Go to End

3 Posts   1992 Views


Community Member, 15 Posts

24 October 2008 at 12:15am

When in translation mode in CMS of a page, going to the Meta Description area shows the Original Text under Original and then a blank uneditable Field also under heading Original Where I believe the translated piece of text should go.

Don't know if this is a bug or what is the deal.. but I see no way of adding Translation to the meta data of a page.

Using Silverstrip v2.2

Has anyone tried adding translation to the meta data eg. description of a page?


Forum Moderator, 801 Posts

1 November 2008 at 12:17pm

From the code, the field is marked as being translatable, but you're right, for some reason its marked as readonly. I've created a ticket:


Community Member, 2 Posts

9 November 2008 at 5:03am

I think I have fixed it but need some eyeballs of a knowledgable person.

There was an error in the file sapphire/core/model/Translatable.php in method duplicateOrReplaceFields().

In the elseif (line 645 in version 2.2.3) it read:
if(is_subclass_of($field->class,'TextareaField')) {

I think this must be:
if(get_class($field) == 'TextareaField' || is_subclass_of($field,'TextareaField')) {

Can anyone verify my solution?