bonny / WordPress-Simple-Fields

WordPress plugin that extend Custom Fields to include textareas, WYSIWYG-editor, files, attachments, well basically anything
http://wordpress.org/extend/plugins/simple-fields/
88 stars 23 forks source link

Support for WMPL translations #79

Closed itspluxstahre closed 11 years ago

itspluxstahre commented 11 years ago

When creating fields and fieldgroups it would be nice if the could be translated by WPML and other ways to translate content. I'm using this on a site with wpml and four different languages. My translators can't really work with the simple fields as they don't know Swedish, and it would be easier for my romainian translators if they could get the names of the fields in Romainian instead of Swedish, this is true for all other languages to.

bonny commented 11 years ago

Wrapping the output of each field in __() or _e() should be enough?

itspluxstahre commented 11 years ago

But that won't fix the fieldnames in wp-admin?

bonny commented 11 years ago

Probably what we are looking for: http://wpml.org/documentation/support/translation-for-texts-by-other-plugins-and-themes/

bonny commented 11 years ago

Been working on this this week. Work is done in branch https://github.com/bonny/WordPress-Simple-Fields/tree/wpml-translation-support Please try it and report any bugs.

bonny commented 11 years ago

Left to to:

[x] Translate name and description of post connectors and field groups and fields [x] Translate dropdown, checkbox, radio values