localize gallery buttons