Custom Landing Page - i18n

Hi,
checking the custom landing page structure (json) I would like to know what the best approach to deliver a localized custom landing page?
Our marketplace is available in 4 languages, but:

  1. how can we define translated text (for example, section info_multi_column, property button_title) ?
  2. is the landing page controller able to deliver the localized version depending of request.env[:locale] or user.locale (if logged in user)

Many thx for your time and help

1 Like

Hi,
Any help or clue to setup custom landing pages for each languages we activate on our marketplace?
Regards

I donā€™t have any tip to share but Iā€™m curious, too, to hear if someone has built this feature. This is not something we are working on for Go, but if someone has some experience, I hope theyā€™ll share it :slight_smile:

@thomasmalbaux in fact there is nobody who use the custom landing page editor to build localized homepage? Or am I missing something?
In sharetribe Go, even in hosted version, how could json landing page data be used to build homepage?

1 Like

By default, Custom Landing Pages in Sharetribe Go can be in only one language. We (Sharetribe) havenā€™t built it to support multiple languages (yet).

Iā€™m not aware of anyone who has built, with the Community Edition, support for multiple languages there, but if someone has, hopefully theyā€™ll share their experience here :slight_smile:

Hi Thomas,

indeed it would be very great to have the landing page with an option for different languages.

Itā€™s a little strange to not have this option in here by now.

Thanks

I feel a multi-language feature is an overvalued feature. At least at the start, you should follow best practices and build your marketplace to support narrowed-down location rather than the whole world. Indeed, we all dream of becoming a world-wide marketplace and giving our customers marketplace in their native language. But the thing is, to get at that point, you really need to nail one location what means you can and should start with only one language. When the time comes and you really need multiple languages, you should have enough budget to create necessary customizations. Or use a more flexible platform as Flex is. Or building landing pages in some CMS. Please do not get me wrong or offensive by any means. The button line is that multi-level language is not the most prioritized feature, IMO.

Happy building!

1 Like

Thanks,

the point is: I have english and german speaking customers already,
now I want to build a marketplace to invite more sellers into my network and serve my clients with more options.

So, I would ā€˜desperatelyā€™ need two languages already at the beginning.

And I think, if you look at opencart, wcfm, or other Saas marketplaces like arcadier, shuup or whatever, they all have multi language support.

Just sayingā€¦

I personally would pay, lets say an XX amount, for an advanced sharetribe Go version,
that offers crucial features.

There is a huge lack of crucial features with Goā€¦

There is no ā€˜stock downā€™ / out of stock counter, as it seems to me paypal does not work any more and no geo location.

You can get all that with User Review option and a lot more for just 50 bucks with other platforms (addons).

Thanks for the details, Andreas. Good to hear that you have already validated some needs from your customers!

You should of course consider all options: Sharetribe Go CE, Sharetribe Go hosted, Sharetribe Flex but also other services. I hope youā€™ll find one that works best for you!

Hi, following my previous message, I took time to make custom landing page ā€œlocalizableā€. I pushed the code here https://github.com/sharetribe/sharetribe/compare/master...oroelants:feature/localized-custom-landing-page (code I will use in production on skydive.aozora.me and classifieds.aozora.me in a few days).
Sorry in advance, Iā€™m not a dev expert in RoR. Maybe some best practices or syntaxe are not optimal but it does the job and could help someone there.

1 Like

Hey Olivier,

super nice of you to share your work! Iā€™m sure this will help many others.

Thank you, great spirit :slight_smile:

Thx @thomasmalbaux, do you think it worth making a PR ? Iā€™m afraid there would be code improvements to make to comply with OS standards.

Iā€™m not able to comment on the code myself but weā€™ll discuss it with our team, if this is OK with you. Based on comments from others, Iā€™ll message you to share our opinion. Would that work for you?

Hi @thomasmalbaux I forgot to give you a straight positive answer. But of course please do so!

Hi @thomasmalbaux ,

did a discussion about the commit from @olivier ever take place? Iā€™m also interested I such a feature for the GO version but unfortunately couldnā€™t make it work based on the file changes from @olivier

Thanks and best

Hey!

When discussing this with the team, we agreed that weā€™d welcome a PR but itā€™s unlikely that weā€™ll review and merge it into the master branch, as weā€™re not working on this feature and it has been pretty low on our requests tracking board. We felt that it would bring more challenges to maintain, at this point.

However, if anyone builds such a feature and decides to make it available to others, through their own repository, this would be of course an amazing to give back to the Community!

Thanks @thomasmalbaux !

Lets see if i can get in touch with @olivier regarding a PR for the latest GO community version

Hi @shoesack unfortunately I heavily changed the code base from community version. I tried until april 2021 to keep updated with OS version but as Aozora is a side project (3 marketplaces for skydivers) for me. Merging the new admin panel would have been heavy work for me to keep all my specifics features (multi currency, business accounts, specifics rendering per listing category, translatable landing page, etc).
Feel free to contact me if you think I can help you and maybe try to do a PR to the actual codebase (at the time I made mine it was fully mergeable into master codebase)
Regards

Thanks @olivier

i just realized that your commit was based on the ā€œoldā€ admin panel. Shame on me! :dizzy_face:

I had a rough look at the code and you are absolutely right, the merge would be pain in the ā€¦

Lets see, probably Iā€™ll find some time during summer to give it a try. First Iā€™ll need to finish my blog functionality (based on strapi.io) and make some small improvements. Honestly, I am jealous because you managed having business account, which would be my next big step. Probably Iā€™ll contact you about this in private. :innocent: