{"id":17475485,"url":"https://github.com/jensz12/yourlsdk","last_synced_at":"2025-09-21T23:33:49.460Z","repository":{"id":76210266,"uuid":"47785666","full_name":"jensz12/YOURLSDK","owner":"jensz12","description":"DK translation for YOURLS","archived":false,"fork":false,"pushed_at":"2017-06-25T18:11:14.000Z","size":50,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-02T10:33:23.346Z","etag":null,"topics":["poedit","pot","translation","yourls"],"latest_commit_sha":null,"homepage":"https://yourls.org/","language":null,"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/jensz12.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":"2015-12-10T20:29:04.000Z","updated_at":"2020-04-05T11:20:29.000Z","dependencies_parsed_at":"2023-03-11T21:49:48.205Z","dependency_job_id":null,"html_url":"https://github.com/jensz12/YOURLSDK","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jensz12%2FYOURLSDK","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jensz12%2FYOURLSDK/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jensz12%2FYOURLSDK/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jensz12%2FYOURLSDK/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jensz12","download_url":"https://codeload.github.com/jensz12/YOURLSDK/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233808779,"owners_count":18733600,"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":["poedit","pot","translation","yourls"],"created_at":"2024-10-18T18:48:04.100Z","updated_at":"2025-09-21T23:33:44.157Z","avatar_url":"https://github.com/jensz12.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# YOURLS .POT FILE FOR TRANSLATIONS\n\nThis is the official YOURLS .pot file to generate and maintain your own translations.\n\n## Awesome! How do I create my own translations?\n\nTo create translation files:\n\n1. Download the translation file template `YOURLS.pot`  \n2. Rename it to `[your-locale].po`, where `[your-locale]` is typically `language code, underscore, country code` (for instance in Portugal that would be `pt_PT`, while in Brazil it’d be `pt_BR`).  \n3. Install a translation software: it’s nothing more than a text editor capable of reading `.po` files, showing you the untranslated string and a text box where you type in the translation, and saving a `.mo` file which is what PHP needs. A cross platform, simple yet complete editor is [Poedit](http://www.poedit.net/).  \n4. Translate all the strings. You'll have a fully translated `pt_BR.po` and the generated `pt_BR.mo`\n\nTo check your translation file and load it in YOURLS:\n\n1. Download latest version, of current master, or update with Git. [Read this](https://github.com/YOURLS/YOURLS/wiki/Install-From-Git)\n2. Drop your `pt_BR.po` and `pt_BR.mo` files in `user/languages`\n3. Add `define( 'YOURLS_LANG', 'pt_BR' )` to your `config.php`\n4. That’s it! Play with YOURLS to check everything is fine\n\nFor more details, tips and screenshots, see the [related blog post](http://blog.yourls.org/2013/02/workshop-how-to-create-your-own-translation-file-for-yourls/)\n\n## Awesome! How do I update my translation file?\n\nWhen the `YOURLS.pot` template file is updated with new or modified strings to translate, you don't have to start over your translation file.\n\n1. Download the translation file template `YOURLS.pot`  \n2. Put it in the same directory as your translation file, *eg* `pt_BR.po`  \n3. In Poedit select **Catalogue** then **Update from POT file**. Now translate only the new strings.\n\n## Awesome! How do I make my translation available to all?\n\nWhen your translation file is all fine, make sure others can benefit from you hard work!\n\n1. Upload your two `PO` and `MO` files somewhere on the interweb.  \nIt's best to use a *source control service*, such as Github or GitLab: this will make your changes easy to track, your files easy to maintain, and others' contributions easy to implement. If you don’t want to use SVN or Git, a regular hosting (your blog) will be OK  \n2. Make it clear for users: a directory with clearly labelled files (`yourls-1.6-pt_BR.zip` for instance) so they know what to pick.  \n3. Ping us! Open a [new issue](https://github.com/YOURLS/YOURLS.pot/issues) here and tell us where your translation lives so we can add it to the [list of available languages](http://yourls.org/translations)   \n\n## What are the available languages already?\n\nSee http://yourls.org/translations\n\n\n#### Thanks to\n[LeoColomb](https://github.com/LeoColomb) - L10n was a low priority feature but he threw his patch at my face :)\n\n#### License\nDo whatever the hell you want with it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjensz12%2Fyourlsdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjensz12%2Fyourlsdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjensz12%2Fyourlsdk/lists"}