Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for languages #2

Closed
martinheidegger opened this issue Nov 1, 2018 · 0 comments
Closed

Add support for languages #2

martinheidegger opened this issue Nov 1, 2018 · 0 comments

Comments

@martinheidegger
Copy link
Owner

martinheidegger commented Nov 1, 2018

It is good to know which presentation is held in which language.

I would like to append the current line to support in <language-code> at the end of a entry line. i.e.:

10:00-11:00 A by B in ja
{
  summary: 'A',
  person: 'B',
  lang: 'ja'
}

Which should only be supported in the first line of the entry:

10:00-11:00 A by B
    more title in ja
    has more text

should not extract the language.

{
  summary: 'A\nmoretitle in ja\nhas more text',
  person: 'B'
}

If there is a unknown language used: an error should be thrown.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant