sample script for translating sidebar