--- url: "https://www.w3.org/WAI/about/translating/resources/images/" titulek: "How to Translate Images | Web Accessibility Initiative (WAI) | W3C" h1: "How to Translate Images" popis: "Help make the Web accessible to people with disabilities around the world. We appreciate your contributions to translating W3C WAI accessibility resources." jazyk: "en" kanonicka: "https://www.w3.org/WAI/about/translating/resources/images/" drobecky: ["Home", "About W3C WAI", "Translate", "Translate a WAI Resource", "Images"] zdroj: "live" wayback_snapshot: "" stazeno: "2026-09-14 01:11:18" znaku: 2256 slov: 374 kodovani: "utf-8" sha256: "85e646a16f5b2c7c89e5c9946d965bbae274214abb0494333dcf3192e30b25f3" --- ## Overview There are 3 steps to create translated versions of our resources’ images: 1. **Translate the SVG source file** 2. **Export the translated image as a PNG** 3. **Commit your changes and open a Pull Request** ## Initial step: Declare your intent In accordance with the WAI Translations process, please always [declare your intent](/WAI/about/translating/resources/#intent) and wait for reply from WAI team *before* starting a translation. ## Step 1: Translate the SVG source file When an image from our website can be translated, it is usually provided with an SVG source file. In general: - PNG images are located in the `content-images/` folder of the repository - SVG source files are located in the `content-images/source/` folder of the repository. **What you will need:** - An SVG editor. The following instructions apply to the [Inkscape](https://inkscape.org/) editor that have been used by some volunteers. - The [“Noto Sans” font family](https://fonts.google.com/noto/specimen/Noto+Sans) , including the *Regular* and *Bold* weights, installed on your computer. **Translating the SVG source file:** 1. Duplicate the SVG file and add your language tag in the filename. Example: `bridge.fr.svg` 2. Open the SVG file in your SVG editor. 3. In Inkscape, select the “Text Tool” on the lateral toolbar (or use the keyboard shortcut T) 4. Select the text objects and translate them. If necessary, you can slightly adjust the font size to prevent the text from going beyond the frame. 5. Change the language (`dc:language`) value of the file, with your language tag. For example: `fr` instead of `en`. In Inkscape, you can go to `File > Document Properties…`. Then, in the “Metadata” tab, change the value of the “Language” field. 6. Save the SVG file. ## Step 2: Export the translated image as a PNG 1. Export the file as a PNG image, with your language tag in the middle. Example: `bridge.fr.png`.\ In Inkscape, go to `File > Export…` and make sure: Then click on the “Export” button. - the Export area is “Page” (not “Document”) - “PNG” is the selected export format. 2. Move the PNG file in the same location as the English version (generally at the root of the `content-images/` folder) ## Step 3: Commit your changes and open a Pull Request Include the PNG and the SVG source file. Back to Top