Oh yeah. We had to do that for a big well known corporation. We had to program in English but the comments had to be in French; at least they tolerated anglicism. The result was code that only a little fraction of the population could understand, and I never heard of any software company getting sued for coding in English. What a farce.
And let's not forget when the Orifice de la Langue Française shows up to your workplace and forces to have a Frenchisation committee to set up all workstations and software in French. Googling anything was a freaking nightmare and back in the days changing the OS language was a pain in the ass.