I have damaged my admin account due to buggy translation language pack

TheDoggyBrad Software Lab Posted in Technical Support 1 year ago

https://www.opensource-socialnetwork.org/component/view/6560/ossn-tagalog-language-pack (That pack)

Basically what happened is that I set my main admin account to have my experimental Tagalog language pack
Then the UI is damaged.
Nothing except emojis on frontend and in the backend something like this ADMIN:CACHE:SETTINGS

Replies
German Michael Zülsdorff Replied 1 year ago

See paragraph II d)
https://www.opensource-socialnetwork.org/wiki/view/2132/how-to-translate-ossn

I can only recommend once again to take the time and study the Ossn documentation first - before applying any changes or add-ons.

ph TheDoggyBrad Software Lab Replied 1 year ago

Now, I know what happened:

d) Don't translate the line

'powered' => 'Powered by the Open Source Social Network.',
Doing so will make your site unaccessable!

I translated it!
"Read before you click".

ph TheDoggyBrad Software Lab Replied 1 year ago

I will try whatever it is said here:
https://www.opensource-socialnetwork.org/wiki/view/2132/how-to-translate-ossn

Then, I will retry again. Maybe just caused some issue with something.

ph TheDoggyBrad Software Lab Replied 1 year ago

To anyone who will help me, just do a back read. Thanks.

ph TheDoggyBrad Software Lab Replied 1 year ago

Alternative Title:
My "DIY" Translation Language Pack causes a damage to the user interface of the account that has been applied with that language pack

ph TheDoggyBrad Software Lab Replied 1 year ago

By the way, curious if the other "pre-installed" (Spanish) language packs will result into the same thing I experienced when I changed to my "experimental" Tagalog language pack and the frontend is okay except for the delete account says gpdr:deleteaccount (atleast that is the thing I see immediately before going back immediately to English).

Now, what happens is that there is a problem with OSSN itself. Well, if there is no spanish equivalent to "Delete Account" it should display "Delete Account" instead and not "gpdr:deleteaccount". So I am thinking to prevent my platform users from changing their language as it will just cause to show things like "gpdr:deleteaccount". (Option Available via component, so don't tell me that Language List is available, if that is the name of that component).

But still wondering why my experimental Tagalog language pack just displays a white background with tons of emojis instead of showing the same behavior as the Spanish pack.

ph TheDoggyBrad Software Lab Replied 1 year ago

Can anyone confirm that my translation language pack is okay?
Here is it:
https://gist.github.com/thedoggybrad/8d5ac427164f14188ba8d518493ccd90
File Name: ossn.tl.php

And Please help me fix if ever.

Or just done something wrong in the install process. Just copied it to the /locale folder (I removed it now) and just selected the Tagalog language.

Thank You for anyone who can help me.

ph TheDoggyBrad Software Lab Replied 1 year ago

i Should create a test sandbox account so that it will not affect my admin account if I am testing something.

ph TheDoggyBrad Software Lab Replied 1 year ago

Fixed after changing the country to Afghanistan then to Philippines again.

ph TheDoggyBrad Software Lab Replied 1 year ago

On the database I already set the language to en from tl. I have found it but still damaged account