{"action":"created","issue":{"url":"https://api.github.com/repos/themosis/framework/issues/65","labels_url":"https://api.github.com/repos/themosis/framework/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/themosis/framework/issues/65/comments","events_url":"https://api.github.com/repos/themosis/framework/issues/65/events","html_url":"https://github.com/themosis/framework/issues/65","id":51592399,"number":65,"title":"Text_domain issue","user":{"login":"ramon-villain","id":1520006,"avatar_url":"https://avatars.githubusercontent.com/u/1520006?v=3","gravatar_id":"","url":"https://api.github.com/users/ramon-villain","html_url":"https://github.com/ramon-villain","followers_url":"https://api.github.com/users/ramon-villain/followers","following_url":"https://api.github.com/users/ramon-villain/following{/other_user}","gists_url":"https://api.github.com/users/ramon-villain/gists{/gist_id}","starred_url":"https://api.github.com/users/ramon-villain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramon-villain/subscriptions","organizations_url":"https://api.github.com/users/ramon-villain/orgs","repos_url":"https://api.github.com/users/ramon-villain/repos","events_url":"https://api.github.com/users/ramon-villain/events{/privacy}","received_events_url":"https://api.github.com/users/ramon-villain/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/themosis/framework/labels/minor","name":"minor","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/themosis/framework/milestones/7","labels_url":"https://api.github.com/repos/themosis/framework/milestones/7/labels","id":889582,"number":7,"title":"1.2.0","description":null,"creator":{"login":"jlambe","id":1917490,"avatar_url":"https://avatars.githubusercontent.com/u/1917490?v=3","gravatar_id":"","url":"https://api.github.com/users/jlambe","html_url":"https://github.com/jlambe","followers_url":"https://api.github.com/users/jlambe/followers","following_url":"https://api.github.com/users/jlambe/following{/other_user}","gists_url":"https://api.github.com/users/jlambe/gists{/gist_id}","starred_url":"https://api.github.com/users/jlambe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlambe/subscriptions","organizations_url":"https://api.github.com/users/jlambe/orgs","repos_url":"https://api.github.com/users/jlambe/repos","events_url":"https://api.github.com/users/jlambe/events{/privacy}","received_events_url":"https://api.github.com/users/jlambe/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":0,"state":"open","created_at":"2014-12-03T07:54:54Z","updated_at":"2015-02-02T15:55:07Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2014-12-10T18:20:19Z","updated_at":"2015-02-08T19:28:23Z","closed_at":null,"body":"Hello, I'm trying to fix the text_domain issue, but I'm not getting any success, I looked the code, and you're using the 'double-underscore-function' in PostTypeBuilder for internationalisation of the messages. But it stills showing me in English, even my language is set to Portuguese. For example the 'Add New'/'All' words in the PostTypeBuilder.\r\n\r\nSo do you have any idea how can we proceed?\r\n````\r\nload_plugin_textdomain(THEMOSIS_FRAMEWORK_TEXTDOMAIN, false, basename( dirname( __FILE__ ) ) . '/languages' );\r\n````\r\nI tried this in themosis.php, but I don't know if it works with mu-plugins, also tried the 'after_setup_theme' and 'init' loading, without success"},"comment":{"url":"https://api.github.com/repos/themosis/framework/issues/comments/73426900","html_url":"https://github.com/themosis/framework/issues/65#issuecomment-73426900","issue_url":"https://api.github.com/repos/themosis/framework/issues/65","id":73426900,"user":{"login":"mediastuttgart","id":134505,"avatar_url":"https://avatars.githubusercontent.com/u/134505?v=3","gravatar_id":"","url":"https://api.github.com/users/mediastuttgart","html_url":"https://github.com/mediastuttgart","followers_url":"https://api.github.com/users/mediastuttgart/followers","following_url":"https://api.github.com/users/mediastuttgart/following{/other_user}","gists_url":"https://api.github.com/users/mediastuttgart/gists{/gist_id}","starred_url":"https://api.github.com/users/mediastuttgart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mediastuttgart/subscriptions","organizations_url":"https://api.github.com/users/mediastuttgart/orgs","repos_url":"https://api.github.com/users/mediastuttgart/repos","events_url":"https://api.github.com/users/mediastuttgart/events{/privacy}","received_events_url":"https://api.github.com/users/mediastuttgart/received_events","type":"User","site_admin":false},"created_at":"2015-02-08T19:28:23Z","updated_at":"2015-02-08T19:28:23Z","body":"Hey,\r\n\r\nJust tried to achieve something similar and ended up with adding `load_theme_textdomain('my-theme-name)` to the themosis `functions.php` file.\r\n\r\nSecond i changed the `THEMOSIS_THEME_TEXTDOMAIN` in the themosis `functions.php` file to match my theme name (renamed the original themosis theme as suggssted in the documentation).\r\n\r\nThen i used poedit to scan the `my-theme-folder/app` to find all strings to be translated. After successfully scanning the directories poedit created the necessary languages files (`my-theme-name-de_DE.mo` + `my-theme-name-de_DE.po`) which i saved to the `languages/my-theme-folder`.\r\n\r\nFinally everything was translated properly. Strings inside the `menus.config.php` for example were translated properly, too. I also was able to translate rewrite slugs from custom post types created with themosis (remember to flush rewrite rules to make them work, else you will receive a 404).\r\n\r\nThough not sure if this is the right approach but seems to be close."}}