added _gallery function and new string translations