Skip to content

Conversation

@RAVMN
Copy link
Contributor

@RAVMN RAVMN commented Apr 13, 2020

Enabling translation with i18n-js and RNLanguage (I know is an old version, but it is targeted against the React version in use)

Manually linked RNLangauge because if Cocoapods install it, it also downloads an old version of React and I can't get it to compile.

ConsoleLog strings aren't included in the translation as they will just be shown to developers.

I hope I haven't break anything

Here is a list of the files that are to be translated in the future (WIP):
*screens/
-Auth/AuthScreen.js
-Auth/RecoveryScreen.js
-Feed/components/...
-Feed/feedStreams.js
-Intro/IntroScreen.js
-Intro/RegistrationScreen.js
-Library/LybraryScreen/component.js
-Library/LybrarySearch/component.js
-Notifications/NotificationHeader/component.js
-Onboarding/Aozora/CreateAccountScreen.js
-Onboarding/Aozora/SelectAccountScreen.js
-Onboarding/Aozora/WelcomeScreen.js
-Onboarding/common/FavoriteScreen.js
-Onboarding/common/ManageLibrary.js
-Onboarding/common/RateScreen/screen.js
-Onboarding/Kitsu/ImportDetail.js
-Onboarding/Kitsu/ImportLibrary.js
-Profiles/...
-QuickUpdateScreen/QuickUpdate.js
-QuickUpdateScreen/QuickUpdateCard/component.js
-QuickUpdateScreen/QuickUpdateEditor/component.js
-Search/...
-Sidebar/...
*store/
-media/actions.js
-onboarding/actions.js
-onboarding/favoriteCategories.js
-profile/actions.js
-user/actions.js

@RAVMN
Copy link
Contributor Author

RAVMN commented Apr 15, 2020

PLayed with "QuickUpdateScreen", tested variable use, but has to get the type of media translated when episodeOrChapter is in use...

@RAVMN
Copy link
Contributor Author

RAVMN commented Apr 15, 2020

No HTML escaping in this library :c

@RAVMN
Copy link
Contributor Author

RAVMN commented Apr 15, 2020

translated seasons in search. Categories aren't working as the displayed tearms are the same as the one used to retrieve the list, have to separate them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant