-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feature/resource channel #18
Conversation
…r-var-resoruce-base-locator
Co-authored-by: Mario Schäper <95750382+sitepark-schaeper@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the lang
, language
and locale
namings are very confusing to me. is it, that a lang/language is just "de" or "en" and a locale would be "de_DE"/"en_US"? or can they also include an encoding lik "en_EN.UTF-8"?
either way, I believe this should be cleaned up and made clear, as currently everything is just a string (some of which even default to ''
).
I've seen a couple of occurences of using "/"
in paths - did you consider using DIRECTORY_SEPARATOR
? I don't really know which one is better - This will probably never be executed on windows and even if, for file paths "/"
should work too. Is there a specific reason you chose to do it this way?
Co-authored-by: Mario Schäper <95750382+sitepark-schaeper@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
necessary comment to be able to submit the code review
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good stuff!
A resource channel is a closed area in which the IES publishes its pages. This can be a live or preview area, for example.
The
ResourceChannel
is required to be able to read publication area-specific values. This can be the anchor of the publication area, for example.Multi-language support is also included in this pull request.