Jump to content

Welcome, Guest!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

dudekk

Language contribution

Recommended Posts

Hi,

I want to improve polish language translation because there are many mistakes and untranslated words. How can I contribute and fix the translation to official TB version?

Share this post


Link to post
Share on other sites

You can contribute to our language files by helping translate on crowdin. You can see them here, https://crowdin.com/project/thirty-bees

Share this post


Link to post
Share on other sites

Translations happen on Crowdin: https://crowdin.com/project/thirty-bees/pl#

There's also module Crowdin in-context, find it in back office -> Modules & Services. Not sure how ell this works, though.

Currently, translations from Crowdin get picked up on every release, which happens about once each month.

Share this post


Link to post
Share on other sites

How to get the approved status on crowdin translations?

Edited by toplakd

Share this post


Link to post
Share on other sites

You can PM me your crowdin username or email and I can approve it. 

  • Like 1

Share this post


Link to post
Share on other sites

I think you should be able to set them as approved now. I made you a proofreader on the translations. LEt me know if that does not work. 

Share this post


Link to post
Share on other sites

Nice. Its working.

And this Crowdin in-context ist just genial

 

Share this post


Link to post
Share on other sites

Great, glad it is working. 

 

I am not sure what you mean about the in-context editing. 

Share this post


Link to post
Share on other sites

Live Translating directly within thirtybees with crowdin translation module

Share this post


Link to post
Share on other sites

Ahh yeah, that is a nice a module. I have not tested it too much, but the core was actually something someone at prestashop developed, and never finished. 

  • Like 1

Share this post


Link to post
Share on other sites

However importing language file from crowdin stil does not work for Slovenian language:

ISO CODE invalid "sl.zip" for the following file: "sl.zip"

All files in downloaded pack are sl-SI and the files on tb instalation are in sl format (sl-SI.php and sl-SI folders vs sl.php and sl folders)

 

Share this post


Link to post
Share on other sites

One can only import language packages from translations.thirtybees.com. There's kind of a voodoo compilation step between the download from there and the download from Crowdin, done for every release. Also, not all thirty bees ISO codes match the codes on Crowdin.

  • Like 1

Share this post


Link to post
Share on other sites

So what's the voodoo behind it?

As  i recursively renamed all files so they are same as the ones in tb + the couple of folders.

But damn thing is stil giving me the ISO invalid. 🙂

Share this post


Link to post
Share on other sites

Is there any possible way to get the translation from crowdin to shop.

As I've translated everything a while back, but can't get it into the shop. And I trully don't want to translate everything once again in the shop translations.

Share this post


Link to post
Share on other sites

Quick and dirty method: d/l the sl.zip file from crowdin and uzip it to some location.

Then you have to rename files with name sl-SL.php to sl.php in every (sub)dir of unzipped location.

After it you can simply copy all that stuff to your shop. You have to keep the directory structure, so when copying a copy utility may ask to overwrite existing directories - this is normal.

 

2 @Traumflug or @lesley: The crowdin stringset does not updated for a long time. Does it still synchronized with current TB core/modules?

Share this post


Link to post
Share on other sites

That is not working. As downloading complete package on crowdin does not download current state of translations.

The files that are in downloaded package have the date of 14. December 2018. 🙂

 

Only when downloading single files I get all the recent translations.

Quick example, TB updater in complete download has no translated strinks, but if downloaded only the tbupdater file, all strings are there.

Same with other files in other modules and theme and admind and ...
 

 

Edited by toplakd

Share this post


Link to post
Share on other sites

Have it working now, but not with Quick and dirty method, it was just dirty but not quick 🙂
Downloaded the pack which has old translations from december so i get complete directory structure.

Renamed all the .php files at once within all directories with one command.

Renamed the few directories from sl-SI to sl.

And than downloaded each file at the time and replacing it in apropriate directory.

 

Took some time, but i have it working now.

Than downloaded PS Email generator so I could generate all the email templates for my language with help of lang_content.php.

And now almost ready to put the modified theme with 100% updated language to live shop.

Edited by toplakd

Share this post


Link to post
Share on other sites
13 hours ago, DaoKakao said:

The crowdin stringset does not updated for a long time. Does it still synchronized with current TB core/modules?

This synchronization currently happens for releases, only.

Doing it, let's say weekly, has the additional challenge that it needs to keep older strings for a while.

  • Like 1

Share this post


Link to post
Share on other sites

No problems.

Have managed it 🙂

Live shop is now almost completely on thirty bees. Tb Core + Tb theme.

Only paypal is stil from PS 🙂

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

×
×
  • Create New...