Implemented localization in Timeline and Graph2d