內容簡介
自訂翻譯
假設你已經翻譯了一個外掛或佈景主題,並已經有一個 mo 檔案準備好了。但是外掛作者沒有回覆你的提交申請,或者出於任何原因你無法聯繫到作者。
在這種情況下,你可能可以將檔案上傳到外掛程式在其目錄中使用的位置,但這並不理想,因為當它更新時,你的翻譯檔案就會消失。你必須重複這樣做。
這個外掛解決了這個問題,讓你可以上傳 mo 檔案並讓 WordPress 使用它。
你需要的是:
mo 檔案(帶有文本域前綴的翻譯檔案)
文本域(通常是外掛/佈景主題的代稱)
在設定頁面上設置這些,外掛會處理剩下的事情。
它簡單且輕量級。
外掛標籤
開發者團隊
原文外掛簡介
Custom Translations
Let’s say, you have translated a plugin or theme and have a mo file ready. But the plugin author does not respond to your submission offer or you cannot contact the author for whatever reasons.
In this case, you may be able to upload the file in the location that the plugin uses within the plugin’s directory but this is not ideal because when it is updated, your translation file will be gone. You have to repeat doing it.
This plugin solves this problem by allowing you to upload the mo file and lets WordPress use it.
What you need are:
mo file (the translation file with a text domain prefix)
text domain (usually the plugin/theme slug)
Set these in the setting page and the plugin will take care of the rest.
It’s simple and lightweight.
