ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

Forums OroCRM OroCRM – How do I? Questions Translate Enum Values for Lead->Status

This topic contains 4 replies, has 3 voices, and was last updated by  William Radi 2 months, 2 weeks ago.

  • Creator
    Topic
  • #58336
    juan
    juan
    Participant

    Hi!! I’m trying to translate the enum values in Status->Lead Entity. ( New/Qualified/Disqualified )
    I couldn’t figure out yet..
    Thanks in advance!!!
    Juan.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Author
    Replies
  • #58337
    juan
    juan
    Participant

    I try adding new translations through system/translations,the translations exist but is not applying. Also through translations yml file and then load to database, and after clear cache is still no showing up

    #58338

    Yurii Muratov
    Participant

    Hi, @juan.

    As the lead statuses is a Enum field, you can manage labels and and new or edit existing values with field config page. To go there you can do the next steps:

    • go to select System -> Entities -> Entity Management menu item;
    • at the Entity Management page find the Leads entity and click to view this entity;
      entity magadement page

    • At the Lead entity page find the Status field and click to edit this field;
      Lead entity

    • At the edit status field page there is a block where you can manage the field options;
      edit field page

    • After edit this options and click the Save button, you can see that statuses was updated at create or edit lead page:
      create lead
    #58339
    juan
    juan
    Participant

    Thanks Yurii, for your detailed explanation!
    Juan.

    #72610

    William Radi
    Participant

    Hello!

    Is there a way to translate the possible values of a EnumSelectType by the code side?

    Like in Oro\Bundle\TaskBundle\Form\Type… The field ‘Status’ is an exemple.
    My possible options are: “Open”, “In progress” and “Close”. I’d like to translate it to pt_BR.

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

You will be redirected to [title]. Would you like to continue?

Yes No
ssossossosso