{"action":"created","issue":{"url":"https://api.github.com/repos/Jermolene/TiddlyWiki5/issues/2611","repository_url":"https://api.github.com/repos/Jermolene/TiddlyWiki5","labels_url":"https://api.github.com/repos/Jermolene/TiddlyWiki5/issues/2611/labels{/name}","comments_url":"https://api.github.com/repos/Jermolene/TiddlyWiki5/issues/2611/comments","events_url":"https://api.github.com/repos/Jermolene/TiddlyWiki5/issues/2611/events","html_url":"https://github.com/Jermolene/TiddlyWiki5/issues/2611","id":183199548,"number":2611,"title":"language extensions","user":{"login":"tobibeer","id":97566,"avatar_url":"https://avatars.githubusercontent.com/u/97566?v=3","gravatar_id":"","url":"https://api.github.com/users/tobibeer","html_url":"https://github.com/tobibeer","followers_url":"https://api.github.com/users/tobibeer/followers","following_url":"https://api.github.com/users/tobibeer/following{/other_user}","gists_url":"https://api.github.com/users/tobibeer/gists{/gist_id}","starred_url":"https://api.github.com/users/tobibeer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobibeer/subscriptions","organizations_url":"https://api.github.com/users/tobibeer/orgs","repos_url":"https://api.github.com/users/tobibeer/repos","events_url":"https://api.github.com/users/tobibeer/events{/privacy}","received_events_url":"https://api.github.com/users/tobibeer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2016-10-15T09:29:35Z","updated_at":"2016-10-19T17:56:05Z","closed_at":"2016-10-15T12:38:59Z","body":"### User Story\r\n\r\n**As** Peter the plugin author and Chris the TiddlyWiki Configuration Guru,\r\n**We want** to be able to define language specific localisations\r\n**So that** plugins can show plugin dependent localisations and core localisations can be overruled\r\n\r\n### Acceptance Criteria\r\n\r\n1. plugins can define localisations\r\n    * **without** localisations be part of the plugin distribution\r\n        * I do not want that content overload, TiddlyWiki is not an OS\r\n            * how to make plugin localisations easily accessible is another problem than generally having that option\r\n2. core localisations can be overwritten / overruled\r\n    * **without** having to modify the entire language plugin\r\n\r\n### Problem Description\r\n\r\nAs a plugin author, I am currently forced to invent my own localisation technique. As someone wanting to configure TiddlyWiki localisations in a more granular way, there is no way to do that other than touching the entire language plugin, even the core. Currently, identifying the current language depends on looking at the language plugin title. **This is bad**. I need to know if it's **en-GB** or **de-DE**. It is of no importance what the title of the core language plugin is.\r\n\r\n### Suggested Solution\r\n\r\nTiddlyWiki should provide for language extensions, i.e. language packs for purposes like\r\n\r\n1. plugin localisations\r\n2. language overrides\r\n\r\nThere are several ways and methods to do this which **need discussing**. \r\n\r\nOne method would be to amend the language switching process to rather than switch language plugins, actually **switch languages**. As a user, I do not switch to **$/languages/de-DE**. Instead I switch from **en-GB** to **de-DE**. At no time is there a need for me to switch from **$:/languages/de-DE** to **$:/languages/tobibeer/de-DE** whereas the latter would now have to be a full plugin of everything just to tweak the wee bits I want changing. Same for the core language. I do not want to have to build a custom TiddlyWiki just to tweak some language bits.\r\n\r\nSo, tasks are:\r\n\r\n1. make language switching dependent on language, not language plugins. A user must decide what plugin they wish to use for a given language. Even the core language should be a plugin that can be removed\r\n2. what follows from that is that all language plugins for a given language are now applied and the remaining task is for **a user** to be able to define the order in which that happens"},"comment":{"url":"https://api.github.com/repos/Jermolene/TiddlyWiki5/issues/comments/254890797","html_url":"https://github.com/Jermolene/TiddlyWiki5/issues/2611#issuecomment-254890797","issue_url":"https://api.github.com/repos/Jermolene/TiddlyWiki5/issues/2611","id":254890797,"user":{"login":"tobibeer","id":97566,"avatar_url":"https://avatars.githubusercontent.com/u/97566?v=3","gravatar_id":"","url":"https://api.github.com/users/tobibeer","html_url":"https://github.com/tobibeer","followers_url":"https://api.github.com/users/tobibeer/followers","following_url":"https://api.github.com/users/tobibeer/following{/other_user}","gists_url":"https://api.github.com/users/tobibeer/gists{/gist_id}","starred_url":"https://api.github.com/users/tobibeer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobibeer/subscriptions","organizations_url":"https://api.github.com/users/tobibeer/orgs","repos_url":"https://api.github.com/users/tobibeer/repos","events_url":"https://api.github.com/users/tobibeer/events{/privacy}","received_events_url":"https://api.github.com/users/tobibeer/received_events","type":"User","site_admin":false},"created_at":"2016-10-19T17:56:05Z","updated_at":"2016-10-19T17:56:05Z","body":"> Why do you want to duplicate / overwrite existing \"core language\" strings in your plugins. It will create a additional complexity and inconsistencies!\r\n\r\nNever said I wanted to do that. What I did say was that I want to be able to do the one (as a user) and the other (as a plugin author)."}}
{"actor":{"display_login":"tobibeer"}}