We are currently looking for someone who would love to work with Kepler.gl code base and implement the new localization feature.
Going through all UI components, extract all embedded text out and create a single js file that can be used with react-intl
Example on how to use react-intl
Please let us know if you want to collaborate on this new and popular feature.
I would like to help with this. I actually already posted a similar issue #967.
967
@Joonalai thank you for your interest. If you are interested I will assign this issue to you and start working on it.
@macrigiuseppe that sounds great.
Give me a yell if you’d like to divide and conquer, I’d be happy to contribute too.
Thanks @mayteio! I am almost done with the task but I'll give you a yell if I find something you could help with.
@mayteio, would you perhaps have the time to check out the failing browser tests? I can check those later but maybe not during this week.
@mayteio, would you perhaps have the time to check out the failing browser tests? I can check those later but maybe not during this week.
your error is the following:
✖ Show not fail without props
------------------------------
operator: throws
expected: |-
undefined
actual: |-
[Error: [React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.]
at: Test.<anonymous> (/home/travis/build/keplergl/kepler.gl/test/browser/components/modals/save-map-modal-test.js:39:5)
stack: |-
It means you need to inject IntlProvider in your tests or find a better way to isolate components from your localization implementation
@macrigiuseppe, @mayteio I just fixed the tests related to localization.
Sorry guys, am on holiday without a laptop! Glad you got it sorted 👏
@mayteio @Joonalai I added some followup questions regarding future works, maybe this is something you can help on.
https://github.com/keplergl/kepler.gl/pull/994#issuecomment-602279387
@heshan0131 @mayteio I added some initial code to the followup questions.
Hey guys, can I add portuguese translations with #1062 ?
this is implemented in https://github.com/keplergl/kepler.gl/pull/994
I am gonna close this one