Skip to content
New issue

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

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

Already on GitHub? # to your account

This is the generic solution to issue#29 (and alike) #44

Closed
wants to merge 2 commits into from

Conversation

oori
Copy link

@oori oori commented Dec 11, 2011

#29

Oori added 2 commits December 12, 2011 00:12
…of contextKey.

1. It is used only in case contextKey was not specified :[[BabelTranslation? &resourceId=`123` &cultureKey=`en`]]
2. If both omitted: uses currently set cultureKey. [[BabelTranslation? &resourceId=`123`]]  is same as [[BabelTranslation? &resourceId=`123` &cultureKey=`[[++cultureKey]]`]]
@oori
Copy link
Author

oori commented Dec 12, 2011

in addition, this allows you to do generic stuff like:
[[getResources? &parents=[[BabelTranslation? &resourceId=17]] &tpl=myTpl]](17 = some parent you wanna list it's childs)

of simple stuff like: [[~[[BabelTranslation? &resourceId=100]]]](100 = some resource you want to link to in whatever language we're on now)

goldsky added a commit to goldsky/babel that referenced this pull request Nov 26, 2014
@goldsky goldsky closed this Nov 26, 2014
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants