prestoav Posted June 24 Posted June 24 Hi all, I've created a regular, single image field called 'Flag' and added it to the 'language' template ready to add a flag image for each language in order to display them as part of the language switch n the front end. Issue is - when I try to upload a regular .jpg image to the field the image seems to upload OK but then, when I save the page, the image disappears. There are no images in the /site/assets/files folder for the language page and no obvious errors in the JS console or Network console. I also noted that the image field has the 'Find Files To Translate' button added (see below)? Any ideas as to what the problem is are gratefully received!
prestoav Posted Thursday at 09:41 AM Author Posted Thursday at 09:41 AM Hi @zilli sadly not. In the end I had to take a different approach... I have a 'library' section of countries (page per country) that contains the country name, two digit country code etc. I built this some years ago and it's in every site I build so I can generate a quick list anywhere on a site and any admin can publish / un-publish countries they do or don't want in their lists. I ended up moving the flag image field to the country page template and added the images there. I then added a page selector field to the language template that chooses the country form which to pull the flag. Not ideal but it worked. Hope that helps.
ottogal Posted Thursday at 10:43 AM Posted Thursday at 10:43 AM Hi, you are aware of this?https://www.flagsarenotlanguages.com/blog/why-flags-do-not-represent-language/
zilli Posted Thursday at 11:02 AM Posted Thursday at 11:02 AM 1 hour ago, prestoav said: Hi @zilli sadly not. In the end I had to take a different approach... I have a 'library' section of countries (page per country) that contains the country name, two digit country code etc. I built this some years ago and it's in every site I build so I can generate a quick list anywhere on a site and any admin can publish / un-publish countries they do or don't want in their lists. I ended up moving the flag image field to the country page template and added the images there. I then added a page selector field to the language template that chooses the country form which to pull the flag. Not ideal but it worked. Hope that helps. Ah ok. Yeah, I will need to think on something too. Thanks.
prestoav Posted Thursday at 11:07 AM Author Posted Thursday at 11:07 AM 21 minutes ago, ottogal said: Hi, you are aware of this?https://www.flagsarenotlanguages.com/blog/why-flags-do-not-represent-language/ Absolutely. I always make that point as I believe it's confusing. In all but one of of my multi-lingual sites I won that discussion a we use language names (English, Français, Deutsch etc). However, this particular client insisted...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now