Skip to content
View in the app

A better way to browse. Learn more.

thirty bees forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Translations not saving

Featured Replies

This is not correct solution for the problem, but removing the one at least don't empty other fields once saving.

For correct solution someone like @datakick or @Traumflug should take a look to see what can be done.

  • 2 weeks later...
On 5/26/2020 at 8:57 PM, toplakd said:

This is not correct solution for the problem, but removing the one at least don't empty other fields once saving.

For correct solution someone like @datakick or @Traumflug should take a look to see what can be done.

Hi @toplakd. I'm trying your partial solution, but I don't get what should I delete/comment, as @gatasi asked. Which line of the three?

I'm tired of re translating strings every time I have to change something. It should be taken into account, It's always necessary to change some strings in order to adapt the platform. After working like two months I have 264 untranslated strings in spanish, I re entered by hand from a new TB instalations but... they keep cleaning when I change something.

It just erased like 30 strings, after changing one string... It's annoying and time consuming.

Thanks!

Will quote myself:

On 4/3/2020 at 7:08 PM, toplakd said:

Removing Line 1325 in AdminTranslationsController.php solves this issue with emptying other fieldsets that start with same name like address...

$_POST['theme'] or  $_POST['lang'] or  $_POST['type']

Only thing is, that one can not save empty string if that line is removed.

Reading helps. If not working on first try, then I suggest to read the quote again. So many times until it works 😀

 

Edited by toplakd

@datakick to the rescue.
Tested the 976 branch and it now works as it should. No more deleting other translations with same prefix.

Thank you

Edited by toplakd

3 hours ago, toplakd said:

Will quote myself:

Reading helps. If not working on first try, then I suggest to read the quote again. So many times until it works 😀

 

Ha! I swear I read it dozens of times!

Thank you :)

Since datakick just added fix, no other things are needed.

Just update to latest bleeding edge and you are good to go.

Edited by toplakd

  • 5 months later...

Am trying to add another line of text in a translation

ex
1.text
2.text
But when I enter it goes
1.text 2.text

I've tried <br> and <p> it seems to strip them away when entered.

Is there another solutions or is this a bug

 

    

14 hours ago, AndyC said:

Is there another solutions or is this a bug   

As far as I know is one string = one translation, and it is supposed to be just text.

if you want more lines, you will have to edit the template file and add your string there.

 

21 hours ago, AndyC said:

Am trying to add another line of text in a translation

ex
1.text
2.text
But when I enter it goes
1.text 2.text

I've tried <br> and <p> it seems to strip them away when entered.

Is there another solutions or is this a bug

 

    

It's not a but, you can't edit whatever you want. If you want changes like that you have to make tweaks to your theme/module

Yeah I thought as much.. I've replaced in so many different places,I've lost track of where lol.. but thanks, I suppose I will have to keep looking

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.