Try our conversational search powered by Generative AI!

VisitorGroupCriteriaPack 1.3.0.0: TimePeriodCriterion has wrong LanguagePath

Found in

EPiServer.VisitorGroupsCriteriaPack 1.3.0

Fixed in

EPiServer.VisitorGroupsCriteriaPack 1.3.1

(Or a related package)

Created

Nov 29, 2016

Updated

Jul 17, 2017

State

Closed, Fixed and tested


Description

Steps to reproduce:
1. Create a langfile with

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<languages>
  <language name="Swedish" id="sv">
    <timeperiodcriterion>
        <category>Tid- och platskriterier</category>
        <displayname>Tidsperiod</displayname>     
        <time>Tid</time>
        <date>Datum</date>
        <from>Från:</from>
        <to>Till:</to> 
      </timeperiodcriterion>

2. Change to Swedish under "My settings".
3. Go to visitor groups and look.

Expected:
Should see translated content in Swedish.

Actual:
Category and DisplayName aren't translated; the other values fetched from the view are translated.

Note:
TimePeriodCriterion in EPiServer.VisitorGroupCriteriaPack 1.3.0.0 has wrong LanguagePath.
It has LanguagePath = "/shell/cms/visitorgroups/criteria/timeperiod." It should be
LanguagePath = "/visitorgroupscriteriapack/timeperiodcriterion".