Gif support, applying localization files from document messages