We did this in another thread. We found out that Germany tried Germans for offences against German law anywhere in the world, whereas the UK (for example and with a few exceptions) doesn't.

However in the UK at least the exceptions include both murder and terrorism, both of which are likely charges if you just take yourself off to a foreign country and start fighting an army there. So yes, I think we would have put such a person in jail.