jannesblobel / inlang-plugin-po

MIT License
3 stars 3 forks source link

Add language support #7

Open NilsJacobsen opened 1 year ago

NilsJacobsen commented 1 year ago

Like discussed in the issue: https://github.com/inlang/inlang/issues/860#issuecomment-1571096724. The po plugin is not able to add new languages, because it uses metadata to handle serialization.

You can test it by adding a resource to the ast with an empty body. I would suggest to throw an error if this function is triggered.

If there are open discussion points let's discuss it underneath.