Skip to content

Commit

Permalink
formatting on readme
Browse files Browse the repository at this point in the history
  • Loading branch information
SlexAxton committed Jan 16, 2012
1 parent 8188923 commit 8cc692b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Expand Up @@ -54,6 +54,10 @@ This would look up the translation for the 'I have one toaster' string, evaluate

You should use gettext because it works, but also, most major translation support the delivery of `.po` files which are the input to gettext based apps. Different languages vary in their implementations, slightly, but for the most part, these `.po` files can be converted and used nearly untouched.

### References

Mozilla has a good write up on gettext here: https://developer.mozilla.org/en/gettext
The GNU spec is pretty big, but here: http://www.gnu.org/savannah-checkouts/gnu/gettext/manual/html_node/gettext.html

## Current Version

Expand Down Expand Up @@ -208,7 +212,7 @@ The english translation returns:

```javascript
"There are %1$d %2$s crayons."
`
```

Then with sprintf, we can do:

Expand Down

0 comments on commit 8cc692b

Please sign in to comment.