We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Best Way to Translate

How Do I?

Jürgen's avatar
Jürgen
44 posts
6 years ago
Jürgen's avatar Jürgen

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

       
Derek Jones's avatar
Derek Jones
7,561 posts
6 years ago
Derek Jones's avatar Derek Jones

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!

       
Jürgen's avatar
Jürgen
44 posts
6 years ago
Jürgen's avatar Jürgen

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.

       
Derek Jones's avatar
Derek Jones
7,561 posts
6 years ago
Derek Jones's avatar Derek Jones

And what version are you on? If you have missing files in a language pack, they should be highlighted for you in the Translation Utility, and automatically created when you click through to edit those language variables.

       
Jürgen's avatar
Jürgen
44 posts
6 years ago
Jürgen's avatar Jürgen

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.

       
Derek Jones's avatar
Derek Jones
7,561 posts
6 years ago
Derek Jones's avatar Derek Jones

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!

       
Jürgen's avatar
Jürgen
44 posts
6 years ago
Jürgen's avatar Jürgen

So I updated to 4.3.2 and it seems that the problem is solved there…. Thank you..

       
Derek Jones's avatar
Derek Jones
7,561 posts
6 years ago
Derek Jones's avatar Derek Jones

Great! Thanks for following up, Jürgen!

       
piker's avatar
piker
22 posts
6 years ago
piker's avatar piker

I have created a Polish language version of EE5, finished about 80%. I will probably finish the translation in two months I would like to share to other people for FREE. Where can I copy it ?

       
Derek Jones's avatar
Derek Jones
7,561 posts
6 years ago
Derek Jones's avatar Derek Jones

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!

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.