matjazp

"Manual" translating

Recommended Posts

I don't have experience with ML, so forgive a noob question. Is it possible to translate strings in some .module files without installing LanguageSupport and based on some criteria? Something like that (pseudocode):

if user has some role, then translate ProcessPageEdit module using my translation file

 

Share this post


Link to post
Share on other sites
2 hours ago, matjazp said:

Is it possible to translate strings in some .module files without installing LanguageSupport

why don't you want to install LanguageSupport?

Share this post


Link to post
Share on other sites

I'm using PagePaths module: "Currently supports only single languages sites."? Or I misunderstand this statement? 

Share this post


Link to post
Share on other sites

I guess the LanguageSupport module won't make a site multilanguage (but I could be wrong). I would try installing it without adding any extra languages and see if PagePaths module still works as expected.

Share this post


Link to post
Share on other sites

Even if you have multilang enabled you can setup templates to only be single-language. Then all the fields will only have ONE inputfield (ONE language). All the field labels will have the user's corresponding translations. And there will also be only ONE path for each page, so I guess it will work with page-paths-module.

Just try it out. I guess doing a translation mess with custom if/else hooking crazyness will be worse 😉

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.