{"id":50297283,"url":"https://github.com/mapbender/mapbender-localisation-helper","last_synced_at":"2026-05-28T09:35:18.297Z","repository":{"id":250182983,"uuid":"833719356","full_name":"mapbender/mapbender-localisation-helper","owner":"mapbender","description":"PHPStorm Plugin to easily handle localisations","archived":false,"fork":false,"pushed_at":"2024-10-25T12:07:03.000Z","size":73,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-06-10T22:50:06.551Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","has_issues":false,"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/mapbender.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":"2024-07-25T15:51:12.000Z","updated_at":"2024-10-25T12:07:07.000Z","dependencies_parsed_at":"2024-07-25T18:29:15.489Z","dependency_job_id":"a3e97bbd-6e7c-4c56-ab67-87ff4507eb4d","html_url":"https://github.com/mapbender/mapbender-localisation-helper","commit_stats":null,"previous_names":["mapbender/mapbender-localisation-helper"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mapbender/mapbender-localisation-helper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapbender%2Fmapbender-localisation-helper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapbender%2Fmapbender-localisation-helper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapbender%2Fmapbender-localisation-helper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapbender%2Fmapbender-localisation-helper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mapbender","download_url":"https://codeload.github.com/mapbender/mapbender-localisation-helper/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapbender%2Fmapbender-localisation-helper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33603475,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-28T02:00:06.440Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2026-05-28T09:35:16.450Z","updated_at":"2026-05-28T09:35:18.274Z","avatar_url":"https://github.com/mapbender.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mapbender Locale Exporter\nPHPStorm extension to quickly localise strings.\n\nInstallable Jar is available at https://files.wheregroup.com/s/63SxXCcLDq6rJJs\n\n## Usage - Extract hardcoded string\n- Select a hard-coded string in a PHP, JS or twig file.\n- Press Ctrl-Numpad1 (can be changed in Settings) or `Tools -\u003e Extract Translation` in the menu\n- Enter a translation key (e.g. mb.actions.myaction) and all translations you know. The previously selected text will be prepopulated as the English text.\n- Press Enter. The selected text will be replaced by the entered key, including `Mapbender.trans` in JS files and `{{ key | trans}}` in twig templates\n\n## Usage - Modify existing translations\n- Select an existing mapbender translation string in a PHP, JS or twig file.\n- Press Ctrl-Numpad2 (can be changed in Settings) or `Tools -\u003e Modify Translation` in the menu\n- All existing translations to that key will be shown. You can modify the translation key and the individual translated strings for all languages\n- You can automate translations by clicking the world icon next to the string you want to use as your translation source using a local installation of libretranslate (see below)\n- Press Enter. All modified translations will be updated in the yaml-files\n\n\n## Building the plugin\n- Call `./gradlew buildPlugin`\n- The plugin will be saved in `build/libs` and can be installed via File - Settings - Plugin - Settings Icon - Install Plugin from Disk\n\n## Automated translations\nThe plugin supports automated translations using [LibreTranslate](https://github.com/LibreTranslate/LibreTranslate). You can only use a locally\ninstalled version at the moment to avoid API Key problems.\n\nInstallation is very easy (python 3 required):\n\n```bash\npip install libretranslate\nlibretranslate --load-only de,en,fr,es,pt,ru,uk,tr,it,nl --update-models # first-start\nlibretranslate --load-only de,en,fr,es,pt,ru,uk,tr,it,nl # subsequent starts\n```\n\nThe service must run on port 500p0 (default). Now you can use the globe icon in the Modify translation dialog to automate translations.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmapbender%2Fmapbender-localisation-helper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmapbender%2Fmapbender-localisation-helper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmapbender%2Fmapbender-localisation-helper/lists"}