
內容簡介
此外掛會在管理介面的上方列出文章特色圖片的原始尺寸大小,非常方便,因為您不必每次發布文章都要查詢特色圖片的預設尺寸。
我們因為管理許多不同主題的部落格,所以創建了此外掛。通常,我們總是要在發布新文章之前檢查特色圖片的預設尺寸。這表示我們必須訪問過去發佈的文章並檢查特色圖片的尺寸。
透過此外掛,您可以配置預設特色圖片大小,以便在管理區域的上方列出。
簡單、方便,節省了我們很多時間。
我們認為這將為管理許多主題和不同預設特色圖片大小的部落格的每個人節省大量時間。
在您的語言中顯示管理員上方欄的特色圖片大小!
此第一版提供英文和西班牙文版本,語言文件夾中已經包含必要的檔案來翻譯此外掛。
如果您想要此外掛的語言版本,而且您擅長翻譯,請在聯繫我們中與我們聯繫。
進一步閱讀
您可以在此連結中查看西班牙文說明:在管理員上方列出特色圖片大小。
聯繫我們
欲了解更多資訊,請發送郵件至email。
翻譯 WordPress 的外掛
翻譯外掛的步驟如下:
在程式碼上運行一個工具,以產生 POT 檔案(Portable Object Template),即所有可本地化文字的列表。我們的外掛已經包含在 /languages/ 資料夾中的 POT 檔案。
使用純文字編輯器或特殊本地化工具為每個文字生成翻譯。這將產生 PO 檔案(Portable Object)。 POT 和 PO 檔案之間唯一的差異是 PO 檔案包含翻譯。
編譯 PO 檔案以產生 MO 檔案(Machine Object),然後可以在主題或外掛中使用。
為了翻譯外掛,您需要一個特殊的軟體工具,例如 poEdit。它是一個跨平台的圖形化工具,可用於 Windows、Linux 和 Mac OS X。
您的 PO 和 MO 檔案的命名非常重要,並且必須符合所需的語言區域設定。命名規則是:language_COUNTRY.po,而外掛則需要添加外掛名稱:pluginname-fr_FR.po
即外掛名稱必須是語言代碼,下劃線後跟國家代碼(大寫)。如果檔案的編碼不是 UTF-8,則必須指定編碼。
例如:
en_US – 美國英語
en_UK – 英國英語
es_ES – 西班牙語(西班牙)
fr_FR – 法語(法國)
zh_CN – 簡體中文
語言代碼列表可以在此處找到:這裡,而國家代碼則可以在此處找到:這裡。還可以在IANA中找到所有編碼名稱的完整列表。
外掛標籤
開發者團隊
② 後台搜尋「Show Featured Image Size in Admin TopBar」→ 直接安裝(推薦)
原文外掛簡介
This plugin displays the image size for the featured image in the admin top bar. We find this very handy, because you don’t have to look up the default size of the featured image each time you publish a post.
We created this plugin because we manage a large number of blogs with different themes. Normally we always have to check the default size of the featured image before publishing a new post. This means that we have to visit a post published in the past and check the featured image size.
With this plugin you can configure the default featured image size so that it is displayed in the topbar in the administration area.
Easy. Handy. And it saves us a lot of time.
We think it will save a lot of time of everybody that manages blogs with different themes and different default featured image sizes.
Show Featured Image Size in Admin TopBar in your Language!
This first release is avaliable in English and Spanish. In the languages folder we have included the necessary files to translate this plugin.
If you would like the plugin in your language and you’re good at translating, please drop us a line at Contact us.
Further Reading
You can access the description of the plugin in Spanish at: Show Featured Image Size in Admin TopBar.
Contact
For further information please send us an email.
Translating WordPress Plugins
The steps involved in translating a plugin are:
Run a tool over the code to produce a POT file (Portable Object Template), simply a list of all localizable text. Our plugins allready havae this POT file in the /languages/ folder.
Use a plain text editor or a special localization tool to generate a translation for each piece of text. This produces a PO file (Portable Object). The only difference between a POT and PO file is that the PO file contains translations.
Compile the PO file to produce a MO file (Machine Object), which can then be used in the theme or plugin.
In order to translate a plugin you will need a special software tool like poEdit, which is a cross-platform graphical tool that is available for Windows, Linux, and Mac OS X.
The naming of your PO and MO files is very important and must match the desired locale. The naming convention is: language_COUNTRY.po and plugins have an additional naming convention whereby the plugin name is added to the filename: pluginname-fr_FR.po
That is, the plugin name name must be the language code followed by an underscore, followed by a code for the country (in uppercase). If the encoding of the file is not UTF-8 then the encoding must be specified.
For example:
en_US – US English
en_UK – UK English
es_ES – Spanish from Spain
fr_FR – French from France
zh_CN – Simplified Chinese
A list of language codes can be found here, and country codes can be found here. A full list of encoding names can also be found at IANA.
