Advertisement
Guest User

peercoin translation tutorial

a guest
Dec 19th, 2013
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 1. You need to have Java on your computer www.java.com/download/
  2. 2. Open https://github.com/kactech/peercoin-translate[u][[b]translation administrator[/b] fork here][/u], [b]Download[/b] zip(right column, bottom), unpack it
  3. 3. Check your native language two letter code here http://www.oracle.com/technetwork/java/javase/javase7locales-334809.html , lets say we want to create [b]Spanish[/b] translation - our code is [b]es[/b]
  4. 4. Get into [b]peercoin-translate/tools[/b] folder and run [b]i18nedit-(version).jar[/b] app
  5. 5. Click [b]Projects[/b] -> [b]Open Project...[/b], browse [b]peercoin-transale/trans[/b] folder, select and open [b]i18nedit.properties[/b] file [img]http://i.imgur.com/FxKVcMc.png[/img]
  6. 6. In freshly opened subwindow go into [b]Project[/b]->[b]Project Settings[/b] and check if your language code is in [b]Additional locales[/b] field [img]http://i.imgur.com/gacGVfX.png[/img] , if not - append it after [b]a whitespace[/b] and [b]Save[/b] [img]http://i.imgur.com/8plCcYF.png[/img]
  7. 7. Once again click [b]Project[/b] and [b]Select shown locales[/b] and select only [b]English[/b] and your native language [img]http://i.imgur.com/GKtFv1B.png[/img]
  8. 8. Now from [b]Property bundles[/b] tree select [b]peercoin.net_p[/b] and for each [b]Resource[/b] place translation into your language [img]http://i.imgur.com/OB62YLg.png[/img] ([b]Content[/b] field)
  9. 9. Close the application one you've done
  10. 10. With system file browser open [b]peercoin-translate/trans[/b] folder, search for [b]peercoin.net_p_[LANGUAGE_CODE].properties[/b] file(in our case [b]peercoin.net_p_es.properties[/b]) [img]http://i.imgur.com/3ha4t1Z.png[/img]
  11. 11. Send this file to [b]translation administrator[/b] along with your Peercoin address
  12. 12. Administrator will commit your file into [b]github[/b] repository with comment that you've contributed to this and you'll receive your bounty
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement