JDOC

Мултиезични имена на изображения

From Joomla! Documentation

This page is a translated version of the page JDOC:Localising Images and the translation is 37% complete.

Other languages:
български • ‎Deutsch • ‎English • ‎español • ‎eesti • ‎français • ‎Bahasa Indonesia • ‎italiano • ‎日本語 • ‎Nederlands

Превеждането на изображения в Joomla! Документацията е необходимо. Обяснявайки нещо със текст е сравнително по - трудно отколкото предоставянето на изображение, което е с направен превод за конкретния език. Може да използвате ръководство за именуване на изображения за да направите името на изображението по описателно.

Наименуване на изображения за Преводачи

Моля, не използвайте конкретния език в името на изображението. Вместо това добавете в края на името кода за дадения език(2 символа) отделен с "-" преди да качите изображението. Това помага за лесното проследяване на мултиезичните имена на изображенията.

Примери

Ето и основния пример:

<jver>-<admin>-<view>-<language code>.<extension('png' | 'jpg' | 'jpeg' | 'gif')>

j3x_admin_content_article_manager_articles.png
j25-admin-content-article-manager-articles.png

Пример за мултиезичност

Като вземем някои от примерите по - горе, просто добавете кода на езика в края на името отделен с "-".

j3x_admin_content_article_manager_articles_es.png
j25-admin-content-article-manager-articles-fr.png

Просто случайно име на изображение с езикови кодове.

name_of_image.png
 name_of_image_fr.png

name-of-image.png
 name-of-image-es.png


Marking an Image For Translation

Marking a page with images must follow the stop translation tagging, start filename.png stop, start caption stop, start translation tagging. This will eliminate all code from the translation unit for the translator.

[[File:Name.png|left|Caption info if needed]]
</translate>[[<translate>File:name-of-image.png</tranlate>|left|<translate>Caption info if needed</translate>]]<translate>

Translation of the Image Unit

Separating the image name with extension and the caption makes it really easy to translate images. As a translator, you will just add the -language code before .extension in the image name when translating the image name unit.

name-of-image.png
  --> name-of-image-{LangCode}.png
   --> name-of-image-fr.png

Save the translation unit and you are almost done. Do not forget to upload the image!

Translation of the Caption Unit

Translating the caption if there is one is straightforward. You will more than likely be translating just a word, a few words or a sentence. Translate the caption and it is done.

Uploading a Translated Image

You translated the image name, now you need to upload an image. Browse to the translated page in your language code. If you translated the image unit, you should see a 'red link' where the image should be. It will either say:

The image name with extension.

name-of-image-es.png

If there is a caption which was translated it should be the translation like this example.

Traducción de la leyenda de la imagen

The Actual Uploading

Click the red link and you will be taken to the upload page. Uploading is really easy. Click 'Choose File' to select a file from your computer. The name of file should already be filled in. Summary, what is the file? Screenshot French Version or Spanish Version of image. Choose a licensing, JEDL or the Joomla! Electronic Documentation License is the recommend one. Bottom button, click to upload file. You should now be on the image information page once the uploading completes.

Checking the Image

Scroll to the bottom of the page and look for the 'File Usage' title. Under it you show see the page name your image is being used on in English with the /language code. Something similar to the following:

Name of page/es

Click the page name and make sure your image is showing on the page.