Skip to content
Serge Gernyak edited this page Apr 27, 2014 · 3 revisions

Betfair's API-NG supports next locales:

  1. English - en
  2. Danish - da
  3. Swedish - sv
  4. German - de
  5. Italian - it
  6. Greek - el
  7. Spanish - es
  8. Turkish - tr
  9. Korean - ko
  10. Czech - cz
  11. Bulgarian - bg
  12. Russian - ru
  13. French - fr
  14. Portuguese - pt
  15. Thai- th

For choosing one of this locales you must before calling requests setup it in BetfairApiNgRails config. For example:

BetfairApiNgRails.config.locale = :ru

If you will use generator gem initializer will be in initializers folder and you may setting up default locale:

BetfairApiNgRails.config do |config|
  config.locale = :ru
  # rest of configuration
end

Also some requests parameters include locale. By default will be used locale from config but if you want to redefine it set locale key when requesting.

Clone this wiki locally