Problem/Motivation
One of the features of configuration translation is that default text, english config, can be "translated". But the UI for this is not available until a second language is added.
config translation (with second language), shows the edit on english
config translation (with only site default language), shows no edit on english
Steps to reproduce
- install drupal
- install (enable) config translation
- go to a translation page ... like translate a role (admin/people/roles/manage/administrator/translate)
Proposed resolution
Make the UI have the edit button for config translation even without a second language.
Remaining tasks
- Figure out how to do this in the code. :)
Task | Novice task? | Contributor instructions | Complete? | |
---|---|---|---|---|
Create a patch | Instructions | |||
Embed before and after screenshots in the issue summary | Instructions | |||
Review patch to ensure that it fixes the issue, stays within scope, is properly documented, and follows coding standards | Instructions |
User interface changes
[after there is a patch, put before and after screenshots here.]
API changes
Comment | File | Size | Author |
---|---|---|---|
#4 | Translations for Administrator role | d81.local 2014-10-03 15-33-23.jpg | 70.23 KB | killerpoke |
#1 | config_translation_with_second_language.png | 91.03 KB | YesCT |
#1 | config_translation_tab_with_only_one_language.png | 79.95 KB | YesCT |
Comments
Comment #1
YesCT CreditAttribution: YesCT commentedadded steps to reproduce and screenshots
Comment #2
jhodgdonOne note: Assuming that #2161801: Update hook_help for Config translation module gets finished before this issue... If this feature is added, the hook_help() for the Config Translation module should be updated to take out the "you need to have two languages before you can translate configuration" part.
Comment #3
BeyersdorferTJ CreditAttribution: BeyersdorferTJ commentedI've tested it today and it worked to me but used Head version.
Comment #4
killerpoke CreditAttribution: killerpoke commentedI tested it:
1. install a fresh git checkout, branch 8.0.x
2. enable config translation
3. navigating to admin/people/roles/manage/administrator/translate
It works for me!
Comment #5
killerpoke CreditAttribution: killerpoke commentedJust to prevent double work: I created a separate issue for the position error of the button in the screenshot: https://www.drupal.org/node/2349829
Comment #6
YesCT CreditAttribution: YesCT commentedthere is no patch to review, I guess we just need to confirm there is no bug.
Comment #7
bwinett CreditAttribution: bwinett commentedI'm at the PNW Drupal Summit sprint. I'm reinstalling head, and I'll test this.
Comment #8
bwinett CreditAttribution: bwinett commentedWorked for me also, just like for killerpoke in #4.
Comment #9
bwinett CreditAttribution: bwinett commentedCreating relationship to the button issue mentioned by @killerpoke: #2349829: #2293589 breaks table row buttons