Green-Party-of-Canada-Members / gpc-decidim

Decidim For the Green Party of Canada
https://wedecide.green.ca/
GNU Affero General Public License v3.0
1 stars 0 forks source link

Creating a bilingual form with Decidim Awesome and Term Customizer #89

Closed BigSnicker closed 1 year ago

BigSnicker commented 1 year ago

We're trying to create bilingual forms, using Term Customizer and Decidim Awesome (which is incredibly awesome!)

We see these instructions: (https://wedecide.green.ca/admin/decidim_awesome/config/proposal_custom_fields) image

And so try to create a new i18n term: (https://wedecide.green.ca/admin/term_customizer/sets/20/translations) image

And put the i18n term in the form: (https://wedecide.green.ca/admin/decidim_awesome/config/proposal_custom_fields) image

But we're clearly doing something wrong.

Relatedly, we tried replacing the "Endorse" button with "Sponsor", with this attempt, which also seems to not work: (https://wedecide.green.ca/admin/term_customizer/sets/20/translations)

image

microstudi commented 1 year ago

There's one thing that is not always well explained when using Term Customizer. Everytime you add/modify a translation you need to "Clear Cache", otherwise you won't see it. After clearing the cache, it works: image

Cache is cleared with this button: image

BigSnicker commented 1 year ago

I thought it might be something like that! lol. Thank you. Man, that isn't explained anywhere.

It reminds me of when The Barbarian was trying to update decidim, and microstudi said "But did you pre-compile the assets??".

No, I hadn't.

BigSnicker commented 1 year ago

image

BigSnicker commented 1 year ago

image

BigSnicker commented 1 year ago

Closed