{"action":"created","issue":{"url":"https://api.github.com/repos/lingui/js-lingui/issues/293","repository_url":"https://api.github.com/repos/lingui/js-lingui","labels_url":"https://api.github.com/repos/lingui/js-lingui/issues/293/labels{/name}","comments_url":"https://api.github.com/repos/lingui/js-lingui/issues/293/comments","events_url":"https://api.github.com/repos/lingui/js-lingui/issues/293/events","html_url":"https://github.com/lingui/js-lingui/issues/293","id":354286261,"node_id":"MDU6SXNzdWUzNTQyODYyNjE=","number":293,"title":"How to localize text unknown at compile time?","user":{"login":"angelsanz","id":2227888,"node_id":"MDQ6VXNlcjIyMjc4ODg=","avatar_url":"https://avatars3.githubusercontent.com/u/2227888?v=4","gravatar_id":"","url":"https://api.github.com/users/angelsanz","html_url":"https://github.com/angelsanz","followers_url":"https://api.github.com/users/angelsanz/followers","following_url":"https://api.github.com/users/angelsanz/following{/other_user}","gists_url":"https://api.github.com/users/angelsanz/gists{/gist_id}","starred_url":"https://api.github.com/users/angelsanz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angelsanz/subscriptions","organizations_url":"https://api.github.com/users/angelsanz/orgs","repos_url":"https://api.github.com/users/angelsanz/repos","events_url":"https://api.github.com/users/angelsanz/events{/privacy}","received_events_url":"https://api.github.com/users/angelsanz/received_events","type":"User","site_admin":false},"labels":[{"id":520336184,"node_id":"MDU6TGFiZWw1MjAzMzYxODQ=","url":"https://api.github.com/repos/lingui/js-lingui/labels/%F0%9F%92%A1new%20feature","name":"💡new feature","color":"84b6eb","default":false},{"id":554240402,"node_id":"MDU6TGFiZWw1NTQyNDA0MDI=","url":"https://api.github.com/repos/lingui/js-lingui/labels/%F0%9F%93%A6%20cli","name":"📦 cli","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-08-27T11:46:25Z","updated_at":"2018-08-31T05:35:42Z","closed_at":null,"author_association":"NONE","body":"Problem: A lot of our application text (or keys, that's irrelevant in this case) comes from a backend. For example, enum types. We'd like to localize those texts too, and we can't use i18nMark because, as discussed at #177, this content is unknown at compile time.\r\n\r\nQuestion: Is there a way to solve this problem using linguijs? Or plans to support this in the future?\r\n\r\nFeature request:\r\nGiven a fully automated solution seems unfeasible (beyond what was commented at https://github.com/lingui/js-lingui/issues/177#issuecomment-373749758), our current approach is to manually add entries (without an `origin`) to the catalogs. However, in this case `lingui extract` marks these entries as obsolete, so we risk deleting them whenever anyone runs `lingui extract --clean`. Is it even acceptable to manually modify the catalog? Would it be possible to support adding manual entries to the catalog?"},"comment":{"url":"https://api.github.com/repos/lingui/js-lingui/issues/comments/417556900","html_url":"https://github.com/lingui/js-lingui/issues/293#issuecomment-417556900","issue_url":"https://api.github.com/repos/lingui/js-lingui/issues/293","id":417556900,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzU1NjkwMA==","user":{"login":"tricoder42","id":827862,"node_id":"MDQ6VXNlcjgyNzg2Mg==","avatar_url":"https://avatars2.githubusercontent.com/u/827862?v=4","gravatar_id":"","url":"https://api.github.com/users/tricoder42","html_url":"https://github.com/tricoder42","followers_url":"https://api.github.com/users/tricoder42/followers","following_url":"https://api.github.com/users/tricoder42/following{/other_user}","gists_url":"https://api.github.com/users/tricoder42/gists{/gist_id}","starred_url":"https://api.github.com/users/tricoder42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tricoder42/subscriptions","organizations_url":"https://api.github.com/users/tricoder42/orgs","repos_url":"https://api.github.com/users/tricoder42/repos","events_url":"https://api.github.com/users/tricoder42/events{/privacy}","received_events_url":"https://api.github.com/users/tricoder42/received_events","type":"User","site_admin":false},"created_at":"2018-08-31T05:35:42Z","updated_at":"2018-08-31T05:35:42Z","author_association":"MEMBER","body":"Alright, I've updated RFC: [Loading messages from scripts](https://lingui.js.org/rfc/002_locale_dirs.html#loading-messages-from-scripts)."}}
{"actor":{"display_login":"tricoder42"}}