Content in Transifex often contains variables and HTML tags. Most of the time, these do not need to be translated. If translated, the app or website might break. Show
To prevent accidental changes to variables and tags and make it easier to focus on the content that needs to be translated, the Transifex Editor automatically replaces variables and tags with placeholders. You can read more about this on the . In the Web EditorAs you translate, you’ll come across several kinds of placeholders:
Placeholders are coloured purple or orange: purple placeholders represent HTML tags, and orange placeholders represent other variables. Additionally, variable placeholders always display the variable name inside the placeholder. Every placeholder has a number to help you identify tags in a string. Pairs of tags – for example, an opening Translating with HTML placeholdersBesides hiding untranslatable content, placeholders can be easily copied from the source area to the translation area. You don't have to type it out in the translation manually. There are two ways to copy a placeholder to the translation area:
To ensure a translation has the same number of variables or tags as the source string, you can only add a placeholder as often as it exists in the source string. If you try to add a placeholder already in the translation, the previous instance will be removed, and a new placeholder will be added. For strings containing more than ten (10) placeholders/variables, when you use the keyboard shortcut Alt+Ctrl+number, a list with the placeholders/variables that are part of the source string will appear. For example, if you press Alt+Ctrl+1 and there are 15 placeholders in the source string, you will see a drop-down with all the available selections of the placeholders. Translating HTML attributesHTML tags sometimes have attributes that need to be translated. In such cases, the placeholder will have a small triangle in the top-right corner of the placeholder to let you know it needs more attention. To translate attributes inside an HTML element:
Note You can switch to raw mode if you want to translate attributes or HTML tags that are protected in the new editor. AppendixSome more details regarding how Transifex detects and marks source string content as HTML tags and translatable attributes inside tags. Tag detectionTransifex detects a character sequence like '<x>' in all file formats and marks it as a tag placeholder. This is future-proof and can hold any custom tag that is added regardless of file format, like android XML and Microsoft docx files that add custom tags. If you want to alter or view the exact tags, please switch to the raw mode of the editor. Translatable attributes detectionTransifex has defined a blocked list of attributes considered "non-translatable" to identify which attributes are translatable. Any custom attribute specially used for your app is considered translatable (for example, a "data-tooltip" attribute holding translatable content). Blocked list:
Note If you are a project manager or administrator that wants to protect attribute translations on your files, please consider enabling the "HTML tags are preserved in the translation" translation check for your file formats. See Setting Translation Checks for more. Bagaimana cara translate website?Saat membuka halaman yang tertulis dalam bahasa yang tidak dipahami, Anda dapat menggunakan Chrome untuk menerjemahkannya.. Di komputer, buka Chrome.. Buka halaman yang ditulis dalam bahasa lain.. Di sebelah kanan kolom URL, klik Terjemahkan .. Chrome akan menerjemahkan halaman saat ini.. Bagaimana cara menerjemahkan halaman web dari bahasa asing ke bahasa Indonesia?Menerjemahkan halaman di Chrome. Di ponsel atau tablet Android, buka aplikasi Chrome .. Buka halaman yang ditulis dalam bahasa lain.. Di bagian bawah, pilih bahasa target terjemahan. Untuk mengubah bahasa default, tap Lainnya. ... . Chrome akan menerjemahkan halaman untuk sekali itu saja.. Gimana cara translate dokumen?Menerjemahkan dokumen. Di komputer, buka dokumen di Google Dokumen.. Di menu atas, klik Alat. Terjemahkan dokumen.. Masukkan nama dokumen yang akan diterjemahkan dan pilih bahasa.. Klik Terjemahkan.. Salinan terjemahan dokumen Anda akan terbuka di jendela baru. Anda juga dapat melihat salinan ini di Google Drive.. Bagaimana Cara Menambahkan Translate di keyboard?Menerjemahkan saat mengetik. Di ponsel atau tablet Android, instal Gboard.. Buka aplikasi apa pun tempat Anda dapat mengetik, seperti Gmail atau Keep.. Tap area tempat Anda dapat memasukkan teks.. Di bagian atas keyboard, ketuk Buka menu fitur .. Ketuk Terjemahan .. Pilih bahasa sumber.. Pilih bahasa target.. Masukkan teks.. |