Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#4 | 2828846-4.patch | 14.42 KB | penyaskito |
|
Comments
Comment #2
penyaskitoTest with fix. There is no validation of locale.
Comment #3
penyaskitoAdded validation.
Comment #4
penyaskitoInjected services into the language form.
Comment #6
penyaskitoCommitted e49c109 and pushed to 8.x-1.x. Thanks!
Comment #8
penyaskitoIntroduced #2844347: Error when downloading locales after adding a language