Closed (outdated)
Project:
Button Field
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Issue tags:
Reporter:
Created:
10 Mar 2011 at 18:43 UTC
Updated:
9 Feb 2022 at 18:40 UTC
Jump to comment: Most recent
Comments
Comment #1
BassistJimmyJam commentedThe button_field module does not currently support translations. I will add this to the list of requested features.
Comment #2
Enrique.Ruiz commentedHello BassistJimmyJam. We are planning to add English and German languages to our site to the current Spanish, so it would be necessary to have this feature. Do you have any timeframe for adding this feature? Kind regards and thanks for this fantastic module.
Comment #3
emmene-moi commentedI may suggest the following update (sorry, no patch), for the latest 6.X-dev version:
in function theme_button_field_formatter_default($element)
Line 154, add:
Then line 174, replace with:
And add the _locale compatibility:
This is not perfect (need to check the field type in button_field_locale_refresh) but it works.
Comment #4
Enrique.Ruiz commentedMany thanks emmene-moi. I will be using it, please keep us updated.
Comment #5
Enrique.Ruiz commentedemmene-moi, would you please give an example on how to configure button_field_locale_refresh for each field type.
If I have three button fields called button_user, button_role and button_date. How would it be?
Comment #6
firfin commentedMarked #1795716: Integration with Internationalisation (i18n) for button text translation? as a duplicate of this issue.
Comment #7
Triumphent commentedHow about a patch/fix/suggestion for core version 7.xx?
Thanks.
:)
Comment #8
martin.l commentedSubscribing, we have the same requirement.
Comment #9
avpadernoI am closing this issue, as Drupal 6 is now not supported.