bi-platform lib translation