Skip to content

CMS PaaS (Content Management System)

CMS PaaS (Content Management System)

Categories

JUMP TO ANOTHER FORUM

  • Hot ideas
  • Top ideas
  • New ideas
  • My feedback

1 result found

  1. The Translate Interface in language manager add-on (EPiServer.Labs.LanguageManager, to make translations smarter, It would be benificial to add IContent and propertyName. With that, we can get Custom Property Attributes, or other properties to understand better the context.
    Change from
    TranslateTextResult Translate(
    string inputText,
    string fromLang,
    string toLang;
    to
    TranslateTextResult Translate(
    string inputText,
    CultureInfo fromLang,
    CultureInfo toLang,
    IContent currentContent, //or similar ContentReference
    string propertyName
    ;
    With this, we could make the translations smarter by knowing the context of the block or page. We could also read any custom attribute on the property if any.

    9 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  Translations  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  • Don't see your idea?