matjazp Posted May 17, 2018 Share Posted May 17, 2018 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 Link to comment Share on other sites More sharing options...
bernhard Posted May 17, 2018 Share Posted May 17, 2018 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? Link to comment Share on other sites More sharing options...
matjazp Posted May 17, 2018 Author Share Posted May 17, 2018 I'm using PagePaths module: "Currently supports only single languages sites."? Or I misunderstand this statement? Link to comment Share on other sites More sharing options...
tpr Posted May 17, 2018 Share Posted May 17, 2018 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. Link to comment Share on other sites More sharing options...
bernhard Posted May 17, 2018 Share Posted May 17, 2018 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 ? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now