Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
$\begingroup$.. to expand.. if you mean you want to translate along the local X of the object, select 'Local' as the transform orientation, hit 'G' 'X' and 'X' again. The first X gives you global X, the second X gives you the X of the selected transform orientation.$\endgroup$