-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inconsistent translation behavior #120
Comments
@ahukkanen I tried the solution from #110 but it didn't fix the problem 😔 |
Can you try disabling action controller caching by setting this in the environment configuration: config.action_controller.perform_caching = false It might be also cache related and if so, it would be hard to fix within term customizer alone because the cells can be shown inside different contexts. This will obviously affect the performance of the app but at least would allow narrowing down the root cause of this issue. |
I tried disabling action controller caching too. But the problem persists. |
Actually it seems caching for cells cannot be disabled with this config as far as I understand from here: This method is overridden in Decidim: But I believe setting the cache store to the config.action_controller.cache_store = :null_store |
Changing the setting to |
@fblupi Were you able to properly solve this on your end or did you try any other solutions or got any other hints? |
No. I couldn't, sorry |
Description
We are encountering inconsistent translation behavior within the term customizer module of the Decidim Barcelona instance. Specifically, we have configured a translation set for both the participatory space and the specific proposals component, where we altered the translation for the
evaluating
status. The following keys were modified:decidim.admin.filters.proposals.state_eq.values.evaluating
decidim.proposals.admin.proposal_answers.form.evaluating
decidim.proposals.answers.evaluating
decidim.proposals.application_helper.filter_state_values.evaluating
Despite these modifications, when accessing the public page of the proposals component, the translation is inconsistent. Sometimes it uses the custom translation, while other times it resorts to the default one.
Steps to Reproduce
Expected Behavior
The translation for the evaluating status should consistently reflect the custom value.
Actual Behavior
The translation for the evaluating status appears inconsistently, sometimes using the custom value and other times using the default one.
Screenshot
Additional Information
The text was updated successfully, but these errors were encountered: