Conversation
* Fix specs in initiatives * Fix specs * Fix initiatives specs
decidim-participatory_processes/app/cells/decidim/participatory_processes/process_g_cell.rb
Outdated
Show resolved
Hide resolved
.../app/views/decidim/participatory_processes/admin/participatory_process_groups/index.html.erb
Outdated
Show resolved
Hide resolved
…y_processes/process_g_cell.rb
…y_processes/admin/participatory_process_groups/index.html.erb
|
This is ready for the review @alecslupu ? |
@andreslucena I would say that it is ready. |
Answering this at #16544 (comment) - 1 year later!! You just have to wait for the good things :D |
🎩 What? Why?
Note for reviewer below
In this PR we are changing the url structure of the content pages to support as the first parameter the locale.
The page like
/processes/hereslug/f/57/elections/5would become:/en/processes/hereslug/f/57/elections/5if seen in english/ca/processes/hereslug/f/57/elections/5if seen in catalanAll the main pages, would have a fallback, so, if someone has a link to
/processes/hereslug/f/57/elections/5, it would be automatically redirected to either locale of the browser, user set locale, or the default language of the appNote for the reviewer
There are many files that have been changed because i have got into a situation where, if i would have played with the default url attributes, i would have got links like :
/en/processes/hereslug/f/57/elections/5?locale=endue to fact that we have multiple stacked engines, and each would need to use default, causing strange urls.Is a big PR, but most of the changes are related to adding the locale parameter to various files.
📌 Related Issues
Link your PR to an issue
Testing
📷 Screenshots
Please add screenshots of the changes you are proposing
