How i can translate the raw data from LIS2DS12 to G for 2/4/8/16g range?
have a look at section 2.1 Mechanical characteristics in the datasheet.
I suppose mg/digit means mg/LSB, but let this someone from ST confirm.
Very similar topic is discussed here: LIS3DH scale factor? 1g = 16600. Not 1mg/digit!
Retrieving data ...