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

posting news in different languages #258

Open
uyilmaz opened this issue Nov 9, 2016 · 4 comments
Open

posting news in different languages #258

uyilmaz opened this issue Nov 9, 2016 · 4 comments

Comments

@uyilmaz
Copy link

uyilmaz commented Nov 9, 2016

is there a way to post news in different languages and show only the ones in user's lang on the page?

i18n plugin uses suffixes to differentiate pages such as index_en, index_es
but news manager plugin has only 1 setting for "page to show news", for example selecting index_es there would cause all news to be displayed on spanish index page regardless of news' language

@cnb
Copy link
Owner

cnb commented Nov 9, 2016

Sorry, multilanguage is not currently supported.

@uyilmaz
Copy link
Author

uyilmaz commented Nov 9, 2016

I'm not familiar with the code but I imagine it should be easy to add support?

  • add a $lang parameter to the function that pulls posts
  • be able to select multiple pages as "page to show news"

maybe I fork and work the above?

@cnb
Copy link
Owner

cnb commented Nov 9, 2016

You're free to fork it of course.

@cnb
Copy link
Owner

cnb commented Nov 9, 2016

Some notes:
This is something I was leaving for later, as there are some features (custom post rendering, multiblog, categories...) that I intended to implement before that.

Also, multilanguage is something I want to think about carefully, as I think there may be several approaches. Language suffixes in post slugs like mvleck's I18N plugins? Or perhaps a dropdown for the post language, different slugs depending on language? Multi-column post overview in backend like I18N, or something different? etc.

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

No branches or pull requests

2 participants