Problem/Motivation

Users want to map custom language with locales in Lingotek. We should allow them to do that and edit them as needed.

Proposed resolution

Add locale to the forms.

Remaining tasks

Patch with tests.

User interface changes

Add locale to the language creation and edition forms.

API changes

Additions:
\Drupal\lingotek\LingotekInterface::getLocales()
\Drupal\lingotek\Remote\LingotekApiInterface::getLocales

Data model changes

None.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

penyaskito created an issue. See original summary.

penyaskito’s picture

Status: Active » Needs review
FileSize
7.77 KB

Test with fix. There is no validation of locale.

penyaskito’s picture

Added validation.

penyaskito’s picture

FileSize
4.27 KB
14.42 KB

Injected services into the language form.

  • penyaskito committed e49c109 on 8.x-1.x
    Issue #2828846 by penyaskito: Add the option of editing the Lingotek...
penyaskito’s picture

Status: Needs review » Fixed

Committed e49c109 and pushed to 8.x-1.x. Thanks!

Status: Fixed » Closed (fixed)

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

penyaskito’s picture