+ if translatable:
+ col.setAttribute('translatable', 'yes')
+ if has_context:
+ splitting = item.split('|', 1)
+ if len(splitting) == 2:
+ context, item = splitting
+ col.setAttribute('context', context)
+ if comments is not None:
+ col.setAttribute('comments', comments)