Translate or Change the Upload Field's Text

Wondering how you can translate or change your upload field's text, No file chosen or Choose File?

Translate or Change the Upload Field’s Text

If you’d like to change or translate the text that appears on your upload button, you can customize this through your theme.

circle-info

Helpful tip: The upload button is a native browser element, and browsers automatically display that text based on the shopper’s browser language settings. Changing the browser language will change the wording. If you would like to replace that browser text with your own custom upload button, follow the steps below.

Uploadery does not have a built-in setting to directly change the default input text, but you can update it through your theme by following these steps:

How to Customize the Upload Button Text

  • From your Shopify admin, go to Online Store → Themes.

  • Find the theme you want to edit, click Actions → Edit code.

  • Open product.liquid in the Templates folder. If your theme uses product.json, open main-product.liquid in the Sections folder instead.

  • Add this script to the bottom of the file:

  1. From your Shopify admin, click Online Store, then click Themes.

  2. Find the theme you want to edit, click the Actions button, then click Edit code.

  3. Navigate to the product.liquid file within the Templates folder. If your theme does not have a product.liquid file and instead has a product.json file, locate a file called main-product.liquid in the Sections folder.

  4. Paste the following code snippet at the bottom of the file:

  1. Locate your theme’s main CSS file by following the instructions in this article.

  2. Paste the following CSS at the bottom of your stylesheet:

  1. From Step 6, locate the last two blocks of CSS and update the text inside the quotes with your preferred wording:

circle-info

Important note: Adding accents, special characters, or superscripts directly into code can sometimes cause formatting issues in your theme if they are not added correctly. If you’d like help adding special characters, please let us know, and we’ll be happy to help.

  1. Save your changes and preview your product page.

Last updated