{"id":4516,"url":"https://github.com/hiaw/rn-translate-template","last_synced_at":"2025-07-31T13:30:59.317Z","repository":{"id":68693815,"uuid":"65858802","full_name":"hiaw/rn-translate-template","owner":"hiaw","description":"I18n template","archived":false,"fork":false,"pushed_at":"2016-11-21T22:15:16.000Z","size":95,"stargazers_count":22,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-15T00:20:10.229Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hiaw.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-08-16T22:49:38.000Z","updated_at":"2021-04-21T17:23:50.000Z","dependencies_parsed_at":"2023-06-05T01:15:15.042Z","dependency_job_id":null,"html_url":"https://github.com/hiaw/rn-translate-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiaw%2Frn-translate-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiaw%2Frn-translate-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiaw%2Frn-translate-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiaw%2Frn-translate-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hiaw","download_url":"https://codeload.github.com/hiaw/rn-translate-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228248584,"owners_count":17891447,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-01-05T20:17:14.955Z","updated_at":"2024-12-05T06:31:43.127Z","avatar_url":"https://github.com/hiaw.png","language":"JavaScript","funding_links":[],"categories":["Components"],"sub_categories":["Internationalization"],"readme":"# Idea\n\nShipping app with localization for all available languages. The main idea here is to minimise the memory required of other languages that is not used by the platform.\n\nFor example if the phone is localized in French, then this will only load the French and English translations into memory and ignore the 30+ other languages available.\n\nEnglish translation is set as default fallback in case some translations are not available in the chosen language.\n\n# Installation\n\nFirst install i18n into your react native project\n\n    npm install --save react-native-i18n\n    react-native link\n\nThen clone this project to your within your project, removing the git repo and example afterwards.\n\n    git clone --depth 1 https://github.com/hiaw/rn-translate-template I18n\n    rm -rf I18n/.git I18n/example\n\nThen require the `I18n.js` file within your main `App.js` file\n\n    require('./I18n/I18n.js');\n\nTo use the translation in app.\n\n    import I18n from 'react-native-i18n';\n\n    render() {\n    ...\n    { I18n.t('welcome') }\n    ...\n    }\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiaw%2Frn-translate-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhiaw%2Frn-translate-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiaw%2Frn-translate-template/lists"}