Closed zx900930 closed 4 years ago
It’s implemented already. Use querystring lang
Examples
https://api.epicsevendb.com/hero/aramintha?lang=jp https://api.epicsevendb.com/hero/?lang=de https://api.epicsevendb.com/item/?lang=ko https://api.epicsevendb.com/ex_equip?lang=es
You can also pass as a header x-e7db-lang
but I don’t recommend since
without the querystring, browser might think it’s same call and give you
the cached instead of the new data
On Sat, Mar 28, 2020 at 3:44 PM Xavier Xiong notifications@github.com wrote:
Any plan to add multilanguage support? example: hero: https://api.epicsevendb.com/en/hero/little-queen-charlotte https://api.epicsevendb.com/ko/hero/little-queen-charlotte https://api.epicsevendb.com/ja/hero/little-queen-charlotte https://api.epicsevendb.com/zht/hero/little-queen-charlotte
herolist: https://api.epicsevendb.com/en/hero https://api.epicsevendb.com/ko/hero https://api.epicsevendb.com/ja/hero https://api.epicsevendb.com/zht/hero
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/EpicSevenDB/api/issues/3, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIJNBNYVTF3FSM34MY63B3RJZAQLANCNFSM4LVVNXMQ .
--
Best Regards, Raphael 'DDL' Oliveira Senior UI Engineer/Front-End Developer [image: LinkedIn] http://linkedin.com/in/raphaelddl/en
Thx, I will try it.
Any plan to add multilanguage support? example: hero: https://api.epicsevendb.com/en/hero/little-queen-charlotte https://api.epicsevendb.com/ko/hero/little-queen-charlotte https://api.epicsevendb.com/ja/hero/little-queen-charlotte https://api.epicsevendb.com/zht/hero/little-queen-charlotte
herolist: https://api.epicsevendb.com/en/hero https://api.epicsevendb.com/ko/hero https://api.epicsevendb.com/ja/hero https://api.epicsevendb.com/zht/hero