Home >> 13. Template > Template Variables for multi-language
Template Variables for multi-language
In this entry, we introduce the variables for supporting FC2 template. Below is a list of variables that supports multi-language template. Users can create a multi-language template base on those variables. In FC2 template, header, text attributes, and rel attributes are being used.
Example
When editing [続きを読む](Read more in Japanese) in the template's HTML,
it only displays [続きを読む] in Japanese, whichever language setting you may employ. Therefore we will use <%template_extend> variables for[Read more].
This way [Read more] will switch language based on the users' blog language settings. If the blog is set in Chinese then it will display as [继续阅读] and [Read more] in English.
*This language switch depends on the language version that the user has registered to. It will not be affected by each user's computer setting.
*Appearance and etc might appear differently in accordance with such settings..
Multi-language Variables Table
| Single Variable | Japanese | English | Simplified Chinese | Traditional Chinese |
|---|---|---|---|---|
| <%template_fc2blog> | FC2ブログ | FC2 BLOG | FC2 博客 | FC2 部落格 |
| <%template_extend> | 続きを読む | Read more | 继续阅读 | 繼續閲讀 |
| <%template_theme> | テーマ | Theme | 题目 | 題目 |
| <%template_genre> | ジャンル | Genre | 种类 | 種類 |
| <%template_trackback> | トラックバック | Trackbacks | 引用 | 引用 |
| <%template_comment> | コメント | Comments | 留言 | 留言 |
| <%template_abs_link> | このエントリーの固定リンク | Absolute link | 此投稿的固定连结 | 此投稿的固定連結 |
| <%template_category> | このエントリーのカテゴリ | Entry category | 此投稿的类别 | 此投稿的類別 |
| <%template_view_category> | このカテゴリ一覧を見る | View category list | 此类别一览 | 此類別一覽 |
| <%template_edit> | 編集 | Edit | 编辑 | 編輯 |
| Comment Form Items | ||||
| <%template_title> | タイトル | Title | 标题 | 標題 |
| <%template_name> | 名前 | Name | 您的名字 | 您的名字 |
| <%template_address> | メールアドレス | E-mail address | 邮件地址 | 郵件地址 |
| <%template_body> | 本文 | Body | 本文 | 本文 |
| <%template_post_comment> | コメントの投稿 | Post a comment | 发表留言 | 發表留言 |
| <%template_private> | 非公開コメント | Private message | 秘密留言 | 秘密留言 |
| <%template_private_check> | 管理者にだけ表示を許可する | Only the blog author may view the message. | 只对管理者显示 | 只對管理者顯示 |
| <%template_password> | パスワード | Edit password | 密码 | 密碼 |
| <%template_send> | 送信 | Send | 送出 | 送出 |
| <%template_delete> | 削除 | Delete | 删除 | 刪除 |
| <%template_edit_comment> | コメントの編集 | Edit a comment | 编辑留言 | 編輯留言 |
| <%template_trackback_this> | この記事にトラックバックする(FC2ブログユーザー) | Use trackback for this entry. | 引用此文章(FC2博客用户) | 引用此文章(FC2部落格用戶) |
| Related page navigation | ||||
| <%template_home> | ホーム | Home | 主页 | 主頁 |
| <%template_index> | インデックス | Index | 索引 | 索引 |
| <%template_firstentry> | 最初の記事 | First entry | 首篇文章 | 首篇文章 |
| <%template_search_entry> | 記事検索 | Search entries | 搜寻文章 | 搜尋文章 |
| <%template_prevpage> | 前のページ | Previous page | 前一页 | 前一頁 |
| <%template_nextpage> | 次のページ | Next page | 下一页 | 下一頁 |
| <%template_preventry> | 前の記事 | Previous entry | 前一篇文章 | 前一篇文章 |
| <%template_nextentry> | 次の記事 | Next entry | 下一篇文章 | 下一篇文章 |
| <%template_go_top> | このページのトップへ | Top of page | 回到此页首 | 回到此頁首 |

