1
cristian76
Error translate language something of the profile user
  • 2010/8/18 14:44

  • cristian76

  • Just popping in

  • Posts: 10

  • Since: 2010/8/18


Hi,
I have a problem to translate module profile into Italian

In the user registration and profile the select modules notification and order comment, not change language (example:(temporarily disable, private, Email not change) but it's always in english.
You can see error in this image:http://yfrog.com/juerrorjbp


In the file's language the define is correct. I also tried changing the constants from the English language, but nothing has changed!

Then I discovered the field of text field_options in the table xoops_profile_field.
It contains:
a3: (i0s28"VGVtcG9yYXJpbHkgRGlzYWJsZQ ==" i1s20"UHJpdmF0ZSBNZXNzYWdl" i2s44"RW1haWwgKHVzZSBhZGRyZXNzIGluIG15IHByb2ZpbGUp";)


Only if I change this mysterious code changes something!

How then to translate into Italian? Why the language file do not work?

thanks and sorry for my bad English
Cristian


2
cristian76
Re: Error translate language something of the profile user
  • 2010/8/18 14:52

  • cristian76

  • Just popping in

  • Posts: 10

  • Since: 2010/8/18


Oh sorry! I ask the moderator if you move my discussion in xoops 2.4.5.
This problem is with xoops 2.4.5

3
uberrookie
Re: Error translate language something of the profile user
  • 2011/5/9 19:35

  • uberrookie

  • Just popping in

  • Posts: 34

  • Since: 2011/3/29


for some reason the text in the db is base64 encoded.
E.g.
VGVtcG9yYXJpbHkgRGlzYWJsZQ ==

is
Temporarily Disable


I dont know the contruction exactly, but
a3: (i0s28"VGVtcG9yYXJpbHkgRGlzYWJsZQ ==" i1s20"UHJpdmF0ZSBNZXNzYWdl" i2s44"RW1haWwgKHVzZSBhZGRyZXNzIGluIG15IHByb2ZpbGUp";)


means something like:
3 options
first id = 0
first text is a string of 28 chars which are VGVtcG9yYXJpbHkgRGlzYWJsZQ ==
etcetera...

If you want to translate it, you'll have to base64_encode your text.
Seehttp://www.tools4noobs.com/online_php_functions/base64_encode/

4
wishcraft
Re: Error translate language something of the profile user

Have you tried profile 1.67 from www.chronolabs.coop? Has user comments, validation and a directory.
Resized Image
www.ohloh.net/accounts/226400

Follow, Like & Read:-

twitter.com/RegaltyFamily
github.com/Chronolabs-Cooperative
facebook.com/DrAntonyRoberts

Login

Who's Online

201 user(s) are online (133 user(s) are browsing Support Forums)


Members: 0


Guests: 201


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits