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
Resource namespace #333
Comments
If there was a namespace feature, then things would have been easier. For example: bundle.addResource('message', res)
bundle.addResource('validations', res2) Then I can basically prefix the namespace as follows. bundle.getMessage('messages.message')
bundle.getMessage('validations.message') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is more of a question to understand how to structure fluent files in a real life project.
Assuming, one resource is basically the contents of a single file (on disk), is there any way to have a namespace for resources. For example: I have the following two files.
Now both the files exports a variable called
message
I create a resource for both the files.
Now, how do I get the
message
from the resource created viavalidations.ftl
?The text was updated successfully, but these errors were encountered: