This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 2 replies, has 2 voices.

Last updated by mortenH-7 1 year ago.

Assigned support staff: Marcos Vinicios Barreto.

Author Posts
May 15, 2019 at 7:28 pm #3819873


I cant upload custom flag like many others. Would be smarter to upload through the media library IMO. Trying to upload svg files.

May 16, 2019 at 1:11 am #3820755

Marcos Vinicios Barreto

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Bahia (GMT-03:00)


Thank you for contacting WPML Support. The issue most likely happens due the fact WordPress doesn't permit SVG files upload by default. We always recommend you to upload a PNG version of your flag image, if you still need to upload SVG files, please, take a look at hidden link in order to learn more on how to enable SVG uploads in your WordPress website. Please, let me know if it helps, have a nice day.

May 16, 2019 at 7:16 am #3822443


I actually had SVG's already with help from the "SVG Support" plugin. However the WPML uploader needs this code in the SVGs to work:

<?xml version="1.0" encoding="utf-8"?>

Perhaps a recent security change from WordPress