Good morning,
I’m using Expression Engine with a german language file. This language file is out of date so some translations are missing. I tried to use the Translation Page under “Developer ‣ Utilities ‣ CP Translate ‣ Edit”. But if I edit some text and click “Save” the form submit, but it has no effect. After scrolling down nothing happend, the old text appears again. No error message or success message will be shown.
Is this feature out of order? As an enhancement: It would be nice to find not only file name in the search. It would be fine to fine text. For example in my translation the text “member_tools” is missing. But there is no result if I search “member_tools”. If I want to find it I have to look in the files and find it in “utilities_lang.php”.
Which is the best way to have an overview of the missing translation keys. There are several keys which are missing for my language. So I don’t want to search in all files and compare which keys are new in english and missing in german files.
I hope you can understand what I mean.
But first of all I want to know if the translation tool isn’t working any more. My Version is 4.3.1. And it don’t work online and not local on my windows PC.
Regards Jürgen
Hey Jürgen! It sounds like you may have a file permissions issue or PHP is aggressively caching files if your submissions aren’t being saved. To see which of the two problems is likely, try submitting a change, and then open your modified language file in /system/user/language/...
in a text editor and see if your modification was made to the file. If not, it could be that you don’t have write permission to the file. If you do see your change, then PHP is probably storing the language file contents in its opcache and not releasing it when the file is updated. You’d need to contact your host to help you adjust that, if that’s the case. Cheers!
Hi,
I have now more Information. I have an old german language pack which is installed on “/system/user/language/deutsch” and I use this as my current language.
The orignal language is installed at “/system/ee/legacy/language/english”.
Now there is an unknown String in the UI which is called “member_tools”. This one is lokated at “/system/ee/legacy/language/english/utilities_lang.php”. But in my language file “/system/user/language/deutsch/utilities_lang.php” it is not present. This is because of the old Version of translation.
Now, how is the best way to translate. If I want to edit my german translation, it saved the changes to disc. But I’m not able to edit the missing resources.
If I want to edit the original language, no changed are saved to disc? Permission issue?. How do I get the missing resouces to my translation file without editing the files itself? It don’t want to copy the english ones to german, because the complete translation has to be done again.
My Expression Engine Version is 4.3.1. My Language Pack Version is 3.1.2, which is the latest in repository. There are no missing files, there are missing language variables in the files, which propably are new in Version 4. It would be great if the missing language variables were created in Expression Engine Translation Utility.
Yes, they should be present in the translation utility. If you are on the latest version and can provide reproducible steps, please submit a bug so we can look into it, thanks!
Hey piker, sounds great! Please see the contributing section in the user guide. Essentially, you’ll email us a zip file and we’ll create a new GitHub repo for it so pull requests can be created from here on out. Thanks!
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.