Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance info related to translation in README #51

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Translation

.. _Translation:

The translation file is **qa-lang-badges.php**. Copy this file to the **qa-lang/<your-language>/** directory. Edit the right-hand side strings in this file with notepad2, notepad++, etc. (don't ever use Window's Notepad. For anything. Ever.), for example, changing:
The translation file is **qa-badge-lang-default.php**. Copy this file to **qa-badge-lang-<your-language>.php** in the same directory. Edit the right-hand side strings in this file with notepad2, notepad++, etc. (don't ever use Window's Notepad. For anything. Ever.), for example, changing:

**'good_question'=>'Good Question',**

Expand All @@ -62,6 +62,10 @@ for Swahili. Don't edit the string on the left-hand side or bad things will hap

Once you've completed the translation, don't forget to set the site language in the admin control panel... to Swahili.

Here are some languages for which translations are available:

* [French](https://github.com/gturri/q2a-badges-lang-fr/)

-------------
Custom Badges
-------------
Expand Down