{"id":13624918,"url":"https://github.com/masylum/dialect-http","last_synced_at":"2025-07-12T06:32:58.383Z","repository":{"id":66822739,"uuid":"1611265","full_name":"masylum/dialect-http","owner":"masylum","description":"http client to manage your dialect translations","archived":false,"fork":false,"pushed_at":"2011-12-08T01:43:11.000Z","size":430,"stargazers_count":25,"open_issues_count":1,"forks_count":10,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T15:42:34.009Z","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/masylum.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}},"created_at":"2011-04-13T20:38:34.000Z","updated_at":"2022-08-26T08:02:30.000Z","dependencies_parsed_at":"2023-02-20T12:11:11.215Z","dependency_job_id":null,"html_url":"https://github.com/masylum/dialect-http","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/masylum/dialect-http","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masylum%2Fdialect-http","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masylum%2Fdialect-http/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masylum%2Fdialect-http/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masylum%2Fdialect-http/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/masylum","download_url":"https://codeload.github.com/masylum/dialect-http/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masylum%2Fdialect-http/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264951610,"owners_count":23687974,"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-08-01T21:01:48.157Z","updated_at":"2025-07-12T06:32:58.124Z","avatar_url":"https://github.com/masylum.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# dialect-http\n\ndialect-http is a web client to manage your dialect translations.\n\nThis module is builtin upon [dialect](http://github.com/masylum/dialect/) using the mongodb store.\n\n\u003cimg src = \"https://github.com/masylum/dialect-http/raw/master/lib/public/images/example.jpg\" border = \"0\" /\u003e\n\n[Tutorial + screencast](http://happynerds.tumblr.com/post/5161855930/dealing-with-translations-in-nodejs)\n\n## Features\n\n- Easy to configure.\n- Users with roles.\n- Autotranslate.\n- Approval system.\n- Context and plurals handling.\n\n## Installation\n\nInstall it using npm. It will create a binary on your `/usr/local/`.\n\n    npm install dialect-http -g\n\n## Configuration options\n\n  - `title`: Custom title for the backend.\n  - `users`: Users with acces to the translations\n    - `username`: Username to authenticate. Defaults to 'admin'\n    - `password`: Password to authenticate. Defaults to 'admin'\n    - `locales`: Locales that this user can edit. Defaults to all.\n    - `can_approve`: Approval permission within user's locales. Defaults to 'true'\n  - `port`: Port number where the application will be running.\n  - `sessions_db`: mongodb connection string.\n  - `dialect`: Object containing dialect options.\n\nCheck [dialect](http://github.com/masylum/dialect/) documentation to see which dialect options can you pass.\n\n## How does it work?\n\nEasy!\n\nFirst edit a configuration file like this:\n\n    // dialect-http.js\n    module.exports = {\n      title: 'My app',\n      users: [\n        { username: 'foo',\n          password: 'bar'\n        },\n        { username: 'joao',\n          password: 'gilberto',\n          locales: ['pt'],\n          can_approve: false\n        }\n      ],\n      port: 3001,\n\n      dialect: {\n        locales: ['en', 'es'],\n        store: {\n          mongodb: {\n            collection: 'my_translations'\n          }\n        }\n      }\n    }\n\n    $ dialect-http --config dialect-http.js\n\nOpen your browser and type \"http://localhost:3001\".\n\n## License\n\n(The MIT License)\n\nCopyright (c) 2010-2011 Pau Ramon \u003cmasylum@gmail.com\u003e\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmasylum%2Fdialect-http","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmasylum%2Fdialect-http","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmasylum%2Fdialect-http/lists"}