PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Transalation and Advanced Fields modification

  1. aour
    Member

    Hi from France,

    Somes questions before buy a developper licence

    - Is it possible to translate Gravity in french?

    - Is it possible to modified or create Advanced Fields
    For exemple in france we do not have state but departments. 99 in fact. I do not want to create each time a dropdow with 99 entries

    - Is it possible to create dropdown with a value different than the content text?
    <option value="Milk">Fresh Milk</option>

    Thank's

    Posted 15 years ago on Sunday September 27, 2009 | Permalink
  2. Hello,

    - Yes it is possible to translate Gravity Forms into french. Gravity Forms is localized using mo/po files like WordPress. You would have to use a po editor to create the necessary translation files.

    - Address Field labels (City, State, etc.) can be modified using a built in hook. It requires you to place code in your themes functions.php file in order to use a filter to change the labels. See this thread:

    http://forum.gravityhelp.com/topic/few-requests-htmltext-area-duplicating-forms-editing-address-area#post-539

    - Right now it is not possible to create a drop down with a value different than the content text. But we do plan on adding this feature in an upcoming release.

    Posted 15 years ago on Monday September 28, 2009 | Permalink
  3. Hello

    Thank's Carl.
    I buy a developer licence today with my professional email that's why you don't see aour.

    I prefer do not use hook. I will create adress block with new field.

    It will be interesting to use the country advanced field alone.
    And create new advanced field like department.

    Regards

    Posted 15 years ago on Monday September 28, 2009 | Permalink
  4. Yea, you can recreate the address fields using standard fields if you want to.

    Adding a country field as a standalone field is a good idea and I will look into doing just that.

    Posted 15 years ago on Monday September 28, 2009 | Permalink
  5. thank's

    Posted 15 years ago on Wednesday September 30, 2009 | Permalink
  6. Is it possible to change the order of components of Advanced fields? In Finland we always place the postal code before the city, so I would like to reorder those.

    Posted 15 years ago on Wednesday December 2, 2009 | Permalink
  7. I forgot to add that it would be nice also to hide parts of Advanced fields, namely the Region, which is very rarely needed in Finland.

    Posted 15 years ago on Wednesday December 2, 2009 | Permalink
  8. There's no way to reorder the fields in the admin at the moment, but you can quickly change the layout with a little CSS tweaking.

    /*restyle international address field ---------*/
    
    span#input_8_3_4_container {display:none} /* hide region from view */
    span#input_8_3_3_container {float:right!important; margin-right:16px!important} /* move city field to right */

    example screenshot

    You'll just need to view the source, and get the actual span id's from your form and replace those in my example.

    The CSS snippet above simply hides the state/region field from view. This won't work though if you have the address field set to required since the field is still in the markup and will try to validate.

    I'm sure we can come up with a filter or something you can add to your functions page that will actually remove the field if you do need that.

    Posted 15 years ago on Wednesday December 2, 2009 | Permalink
  9. Thanks for the reply Kevin! That will do it for now, but I will need a filter later on, since I want to use GF exclusively for my clients. Of course I can just use regular text fields, but it's not as clever. :)

    Posted 14 years ago on Wednesday December 9, 2009 | Permalink
  10. We are always looking for ways to make the advanced fields more configurable so we will take a look at this. Thanks for the suggestion.

    Posted 14 years ago on Wednesday December 9, 2009 | Permalink
  11. I'm looking for a french translation too, but i can't find it.
    I plan to try to translate some content but in the languages folder I just see a "gravityforms.pot" file but not the "gravityforms.mo" file .

    how can i proceed to edit the gravityforms.pot?
    thanks

    Posted 14 years ago on Thursday January 7, 2010 | Permalink
  12. We would love a French translation of Gravity Forms. In order to translate the plugin you will need a PO editor that will read in the gravityforms.pot file and then allow you to translate it. It will then generate language specific PO and MO files for the new translation.

    You can find some information on translating plugins in these articles:

    http://forums.lesterchan.net/index.php?topic=108.0

    http://www.lost-in-code.com/platforms/wordpress/wordpress-translate-a-plugin/

    If you can put together a French Translation and send it over we can make it available to all users.

    Posted 14 years ago on Thursday January 7, 2010 | Permalink
  13. Thanks.
    I will try to began a translation. It will take some time.

    Posted 14 years ago on Tuesday January 19, 2010 | Permalink
  14. Any luck on the French translation? I'm also looking for french.

    Posted 14 years ago on Wednesday April 21, 2010 | Permalink
  15. netagence
    Member

    Hi,
    same here, I'm ok to work on a French translation if we can share the work, and provided I do not rewrite what others have done before...let's join forces ! :-)

    Posted 14 years ago on Friday April 23, 2010 | Permalink
  16. poolpaint
    Member

    Hi, Is there any way I can modify, add, rename some fields into Address Advanced to comply with Australian Standards?
    Thanks

    Posted 14 years ago on Wednesday May 5, 2010 | Permalink
  17. What exactly are you looking at doing? If it is just a matter of renaming the sub-labels, they can be done via some hooks.

    Posted 14 years ago on Wednesday May 5, 2010 | Permalink
  18. poolpaint
    Member

    Yes I want to change some labels to avoid confusion of potential applicants. Also it would be nice to get second line street address to act as separate entry and rename it as SUBURB. Thanks

    Posted 14 years ago on Wednesday May 12, 2010 | Permalink
  19. You can check out this thread to see how you can use a filter to change the sub-labels of the advanced fields:

    http://forum.gravityhelp.com/topic/uk-specific-address-help#post-2327

    Posted 14 years ago on Wednesday May 12, 2010 | Permalink
  20. poolpaint
    Member

    Thanks. Now looks much better. Although I gather that next time i change the theme I need to change functions.php again. Hope for next updated version of your forms we will have more options to make changes without changing actual themes. But this will do for now.

    Posted 14 years ago on Thursday May 13, 2010 | Permalink
  21. Einsteinno1
    Member

    awesome, it worked to hide the State Field and move City to the right. Next thing to do is my Translation into German.

    Posted 14 years ago on Saturday June 26, 2010 | Permalink

This topic has been resolved and has been closed to new replies.