Could you tell us what you are trying to achieve with these patches?
The I18N plugin already supports fancy URLs and the language within the URL as described here.
The I18N plugin already supports fancy URLs and the language within the URL as described here.