Problem/Motivation

At the moment it's hardcoded when using glossaries that they are not case sensitive

$glossaryConfig = new TranslateTextGlossaryConfig(
            [
              'glossary' => 'projects/' . $projectId . '/locations/' . $location . '/glossaries/' . $glossary,
              'ignore_case' => TRUE,
            ],
          );

This should be configurable.

Proposed resolution

Add that configuration to the settings and only add the "ignore_case" if that option is selected.

Comments

kallado created an issue. See original summary.

kallado’s picture

Issue summary: View changes

  • kallado committed 72063cf1 on 1.0.x
    Issue #3522675 by kallado: Case sensitive glossary option should be...
kallado’s picture

Status: Active » Fixed

Fixed in 3.0.2

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.