{"id":17269497,"url":"https://github.com/systemed/cycle.travel_translations","last_synced_at":"2025-03-26T11:44:04.176Z","repository":{"id":145599591,"uuid":"253468620","full_name":"systemed/cycle.travel_translations","owner":"systemed","description":"User-supplied translations for cycle.travel","archived":false,"fork":false,"pushed_at":"2023-10-03T09:27:29.000Z","size":6,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-31T12:49:44.954Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/systemed.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-06T10:47:32.000Z","updated_at":"2020-04-06T15:03:39.000Z","dependencies_parsed_at":"2025-01-31T12:46:16.689Z","dependency_job_id":"6f6e46d6-eda2-4205-be21-6643bc254939","html_url":"https://github.com/systemed/cycle.travel_translations","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/systemed%2Fcycle.travel_translations","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/systemed%2Fcycle.travel_translations/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/systemed%2Fcycle.travel_translations/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/systemed%2Fcycle.travel_translations/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/systemed","download_url":"https://codeload.github.com/systemed/cycle.travel_translations/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245650112,"owners_count":20650097,"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-10-15T08:16:26.797Z","updated_at":"2025-03-26T11:44:04.169Z","avatar_url":"https://github.com/systemed.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## cycle.travel translations\n\nEnjoy cycle.travel in your language! This repository lets you supply translations for cycle.travel's map page.\n\nEach language has a separate file (e.g. `fr.js` for French). By editing the file, you can alter the text that's shown to users in your language. You'll need to be logged into Github to edit the file.\n\nThe file has two halves. In the top half, you'll see the English-language phrases and their translation. For example:\n\n    \"Total length:\": \"Distance totale:\",\n\nSimply overwrite the text in the __second pair of quotes__ with the appropriate translation for your language.\n\nThe second half has the phrases used for turn-by-turn instructions. These are formatted slightly differently, typically:\n\n    \"Suivre \", // Follow\n\nThe translation is between the __first pair of quotes__ here. (The English text after the // isn't actually used but is provided to help you translate.) In this section, you'll see the individual turn instructions (e.g. \"turn left\"); linking prepositions for each instruction in turn (e.g. \"turn left _onto_ High Street\"); descriptions for road/path types; and descriptions for the route summary. \n\n### Improving an existing translation\n\nFind the file for your language, and click the pencil icon at the top right. Make the changes.\n\nWhen you've finished, add a quick summary of your changes under \"Commit changes\" at the bottom, and click \"Propose file change\". Then, on the next screen, click \"Create pull request\". You don't need to do anything else - I'll check the file and then incorporate the translations into cycle.travel.\n\n### Creating a new translation\n\n**If you're confident with systems like Github:** Find an existing translation file (e.g. `fr.js`). Copy all the translation text into your clipboard. (You might find this easier by clicking \"Raw\", which strips off all the stuff around the edge.)\n\nGo back to the main page (here), and click \"Create new file\". Where it says \"Name your file\", type the two-letter abbreviation for your language, then '.js'. For example, `es.js` for Spanish. Then, in the big box underneath that, paste the translation text you copied earlier. Go through that and overwrite the translations with those for your language.\n\nAdd a quick summary of your changes under \"Commit changes\" at the bottom, and click \"Propose file change\". Then, on the next screen, click \"Create pull request\".\n\n**If this all sounds a bit technical:** No problem! Leave me a message and I'll set it up for you.\n\n### Problems?\n\nI'm happy to help! You can either send me an email at [info@cycle.travel](mailto:info@cycle.travel), or create an \"issue\" here. You can do the latter by clicking \"Issues\" at the top, then \"New issue\".\n\n🚴 🚴 Happy cycling! 🚴 🚴\n\nRichard Fairhurst, cycle.travel\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsystemed%2Fcycle.travel_translations","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsystemed%2Fcycle.travel_translations","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsystemed%2Fcycle.travel_translations/lists"}