{"id":15136308,"url":"https://github.com/librecodecoop/l10n_override","last_synced_at":"2026-01-18T03:18:35.125Z","repository":{"id":185169251,"uuid":"673103159","full_name":"LibreCodeCoop/l10n_override","owner":"LibreCodeCoop","description":null,"archived":false,"fork":false,"pushed_at":"2024-02-24T23:26:04.000Z","size":168,"stargazers_count":2,"open_issues_count":11,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-04T04:44:06.280Z","etag":null,"topics":["l10n","nextcloud","nextcloud-app","nextcloud-apps"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LibreCodeCoop.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","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}},"created_at":"2023-07-31T22:04:18.000Z","updated_at":"2024-09-11T08:22:44.000Z","dependencies_parsed_at":"2024-02-24T23:26:25.484Z","dependency_job_id":"457f334f-f51a-40c0-94d2-d06a3320449a","html_url":"https://github.com/LibreCodeCoop/l10n_override","commit_stats":null,"previous_names":["librecodecoop/l10n_override","librecodecoop/l10n"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LibreCodeCoop%2Fl10n_override","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LibreCodeCoop%2Fl10n_override/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LibreCodeCoop%2Fl10n_override/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LibreCodeCoop%2Fl10n_override/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LibreCodeCoop","download_url":"https://codeload.github.com/LibreCodeCoop/l10n_override/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247123099,"owners_count":20887259,"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":["l10n","nextcloud","nextcloud-app","nextcloud-apps"],"created_at":"2024-09-26T06:20:27.960Z","updated_at":"2026-01-18T03:18:35.083Z","avatar_url":"https://github.com/LibreCodeCoop.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Override Translation\n\nOverride app translation\n\n\n## Instructions\n\nFor now only have the command line version with the follow commands:\n\n\n```\nocc l10n-override:add\nocc l10n-override:list\nocc l10n-override:delete\n```\n\n## Use case\n\nIn your Nextcloud instance, you will use a special code as login, on the Nextcloud login screen the phrase \"Account name or email\" no longer makes sense, so you will need to change it to \"Your code\".\n\nHow does this app works and how to change this text?\n\nIn Nextcloud is possible to overwrite translations, page templates and much more using the theme feature. For this you will need to use a theme. Nextcloud themes work like this: when loading an X file, will first checks if exists a version of this file in the theme folder, if not, then it will load the original app file.\n\nSo we'll define the default theme to store the overwritten files:\n\n```\nocc config:system:set theme --value default\n```\nThis command will create the folder `themes/default` and set the name of current theme as `default` at the `config/config.php` file as a system setting.\n\nIdentify who this phrase belongs to in your Nextcloud by going to the root folder of your Nextcloud and executing the command:\n```\nfind . -name l10n -type d -exec grep -R \"Account name or email\" {} \\;\n```\nYou should find some occurrences of this phrase in several languages. Example:\n```\n./core/l10n/mk.js:    \"Account name or email\" : \"Корисничко име или е-пошта\",\n```\nThe files found will be inside a folder called `l10n`, before `l10n` you will find the name of the \"app\" that has this sentence (ex.: core, lib, themes, settings, calendar, etc). In this example, the root directory is `core`.\n\nLet's say you want to change the phrase in Portuguese, then in the grep command you should find files `core/l10n/pt_BR.json` and `core/l10n/pt_BR.js`. The code of the language \"Brazilian Portuguese\" is `pt_BR`.\n\nGiven the information above, to change this phrase in Portuguese to \"Your code\" execute:\n```\nocc l10n-override default core \"Account name or email\" \"Seu código\" pt_BR\n```\n\n### Changing a text form English to English\n\nTo do this you will need to use `en` as language code:\n```\nocc l10n-override default core \"Account name or email\" \"Your code\" en\n```\n\n## Notes\n* Only is possible to add a translation to core, lib or to an enabled app\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibrecodecoop%2Fl10n_override","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flibrecodecoop%2Fl10n_override","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibrecodecoop%2Fl10n_override/lists"}