Friday, May 3, 2024
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 1897  / 2 Years ago, fri, march 18, 2022, 12:08:52

I have localized russian Ubuntu 11.10. But all my scripts use stuff like



  REMOTE_REV=`svn info $REMOTE_REPO | grep '^Revision:' | awk '{print $2}'`


Where in my localization ^Редакция: would do the job. I wonder if it is possible to tall svn info in what language to responde instad of rewritinglocalizing all my scripts grep stuff?


More From » command-line

 Answers
4

Maybe this chapter of the SVN book can help in your matter: http://svnbook.red-bean.com/en/1.2/svn.advanced.l10n.html



In simple words, if you export LC_MESSAGES to en_US, SVN should honor your locale.



$ export LC_MESSAGES=en_US

[#40712] Saturday, March 19, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tubequ

Total Points: 11
Total Questions: 113
Total Answers: 115

Location: Equatorial Guinea
Member since Thu, Oct 7, 2021
3 Years ago
;