fix url building. i18n.
add EOF to all files.
Merge pull request #1 from ucho/master

improve url building & i18n