BERLIN, Jan 4 (Reuters) - German inflation rose in line with analysts' expectations in December to 3.8%, the federal statistics office said on Thursday.

German consumer prices, harmonised to compare with other European Union countries, had risen by 2.3% year-on-year in November.

The statistics office gives more details on its website. (Reporting by Rachel More and Linda Pasquini)