theoretic Posted August 9, 2023 Share Posted August 9, 2023 Hi friends! And thanks for ProcessWire! There's an inconvenience in ProcessWire file translation process which, I think, deserves a topic here. It's a common case to have same translatable phrases in different translatable files. Using a translation context (in fact, a separate file holding all that phrases) is also a common case, at least for me. Generally i call that context I18N_GLOBAL. So my typical translation may look like this: <?=__( 'Accept', I18N_GLOBAL )?> The problem is that ProcessWire translation interface is context-agnostic. If You have to translate multiple files containing the same 'Accept'-related piece of code, it will be always treated as not translated yet, even if I18N_GLOBAL file is already translated. Quite annoying, especially if You have lots of phrases to translate. So dear Santa, could You please make translation interface context-aware and to mark all the phrases (in all the files) which already have translation in my I18N_GLOBAL file as translated? Or maybe I missed something, and there's a possibility to tweak some settings and achieve this? Thanks in advance for any possible advice or idea ) 1 Link to comment Share on other sites More sharing options...
da² Posted August 9, 2023 Share Posted August 9, 2023 Hi, I'm using the same as you, and already reported it to @ryan, you can see his answer here, it looks like he can do something: Link to comment Share on other sites More sharing options...
theoretic Posted August 10, 2023 Author Share Posted August 10, 2023 @da², sorry, forum says that I have no permission to see the content You've quoted ( Could You please copypaste it here? Link to comment Share on other sites More sharing options...
da² Posted August 10, 2023 Share Posted August 10, 2023 Ho yes it is in ProFields sub-forum, he said: Quote I see, I'll play with it here and should be able to make the translation tool skip over translations for those in other text domains, if it's not already doing that. 1 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