I found this: os.symlink(source, link_name) Just supported in Unix type systems, so i cannot use it
On Dec 3, 6:21 pm, Alan Etkin <[email protected]> wrote: > I know it is a unconvetional way of managing language files, but i am > working in a project wich has a desktop Python application and a > web2py application and both of them will share translations. > > I do not like symbolic links for this case because i don't know if it > there is a way of setting them for all common operating systems at > installation (anyway, i suppose there must be a pythonic way using the > standard library). I think it would be simpler configuring the web2py > app T object. > > I am trying to make that the web2py app load the language files from a > folder in the desktop application, but i did not find a way of setting > the T object folder so it can read the files and at the same time, the > translations from the web application (from the admin interface) be > written in those files. > > I've seen the folder T attribute but i think that setting this > attribute isn't enough to solve the problem. > > Has anyone had a similar problem? > > Thanks

