Forums

Covering OroCommerce topics, B2B eCommerce trends, community updates and company announcements.

Forums OroCommerce Translates of entity Hints

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

  • Creator
    Topic
  • #15083
    mlozynskyy
    mlozynskyy
    Participant

    Hello,
    How can I translate entity hint from datagrids.yml. ?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #15084

    mmiasnikov
    Moderator

    Hello, Mlozynskyy!

    You see, ‘entityHint’ – it’s rather a machine name of entity/data, and it wasn’t intended for translation. Actually, the main use of this option – as placeholder in translations

    But, actually, as it turned out, we already had a request to this kind of improvement (to make the ‘entityHint’ option translatable). Unfortunately, I can’t tell you at the moment, when this improvement will be done, but it’s planned.

    Thank you for the question.

    (Note for Oro Core members) Internal task ID CRM-2295.

    #15085
    mlozynskyy
    mlozynskyy
    Participant

    It is in category search page when no items finded.
    And what about translation of Country for the addresses.
    test-application/vendor/oro/platform/src/Oro/Bundle/AddressBundle/Resources/translations/entities.en.yml
    How can I do it?
    if I create the same file, entities.pl_PL.yml, it does not work.

    #15086

    mmiasnikov
    Moderator

    In common sense, translation system in Oro applications uses advantages of CrowdIn collaboration platform.
    So, to add a translation, you have to add new language in admin UI in System -> Localization -> Languages, etc. – please, read Update translations in Oro appliciations guide for details.

    As I can see in CrowdIn site, file oro/platform/src/Oro/Bundle/AddressBundle/Resources/translations/entities.en.yml translated in Polish to 99%, therefore, it will be enough for you just download Polish translations.

Viewing 3 replies - 1 through 3 (of 3 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