Jump to content

Localization support for Comments and FieldtypeCache modules.


Radek
 Share

Recommended Posts

Hi, I had some free time so i made this patch to improve PW localization support little more.

Changes are made in these files:
/wire/modules/Fieldtype/FieldtypeCache.module
/wire/modules/Fieldtype/FieldtypeComments/FieldtypeComments.module
/wire/modules/Fieldtype/FieldtypeComments/InputfieldCommentsAdmin.module
/wire/modules/Fieldtype/FieldtypeComments/CommentFilterAkismet.module
 

Seems like localization dont work for file CommentForm.php
I can overload strings in frontend template file but not
thrue standard localization file.

Example:

/srv/http/pw_translate/wire/modules/Fieldtype/FieldtypeComments/CommentForm.php:
  122  
  123          // default labels
  124:         $this->options['labels']['cite'] = $this->_('Your Name');
  125          $this->options['labels']['email'] = $this->_('Your E-Mail');
  126          $this->options['labels']['website'] = $this->_('Your Website URL');
 

Ryan: can you check this patch and merge it please?

  • Like 4
Link to comment
Share on other sites

Hi Radek, cool.

Edit: It would be really good to have the description-field for images also in multilingual version.

Oh, I haven't got it right. It is localization support, - what I have thought of is multilingual inputfields like 'TextLanguage, TextareaLanguage and PageTitleLanguage'. An Image-description-field for that would be really cool.

Edited by horst
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...