By CK on Friday, 28 March 2014
Posted in Technical Issues
Replies 4
Likes 0
Views 827
Votes 0
Looking through the #_social_fields_steps table, I noticed that there are a couple of rows that the language is hard-coded and not using a language string. This can be problematic when using a language other than English. Please see below for the row ID.

  • Row ID = 1: Basic Information | Provide us with your account information.
  • Row ID = 3: Appearance | Customize how your profile would look like to other users.
  • Row ID = 4: About Me | Please tell us a bit more about yourself.


It should be as follows:

  • Row ID = 1: COM_EASYSOCIAL_FIELDS_PROFILE_DEFAULT_STEP_BASIC_INFORMATION | COM_EASYSOCIAL_FIELDS_PROFILE_DEFAULT_STEP_BASIC_INFORMATION_DESC
  • Row ID = 1: COM_EASYSOCIAL_FIELDS_PROFILE_DEFAULT_STEP_APPEARANCE | COM_EASYSOCIAL_FIELDS_PROFILE_DEFAULT_STEP_APPEARANCE_DESC
  • Row ID = 1: COM_EASYSOCIAL_FIELDS_PROFILE_DEFAULT_STEP_ABOUT_BE | COM_EASYSOCIAL_FIELDS_PROFILE_DEFAULT_STEP_ABOUT_ME_DESC


Thanks in advance,
Chaim
Digging a little further, there seems to be a missing language string for the Joomla Language field. This one is located in the #_social_fields table (it doesn't seem to pull the language from the json config PLG_FIELDS_USER_JOOMLA_LANGUAGE_DEFAULT_TITLE and PLG_FIELDS_USER_JOOMLA_LANGUAGE_DEFAULT_DESCRIPTION, rather it stores it as "Select Language" and "Select the language to use throughout the site."
CK
·
Friday, 28 March 2014 06:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

1. Regarding the steps title and description, this is already the case in the latest version. If you create a new profile, the steps are all in LANGUAGE STRINGS.

2. It was initially loaded as a language string and the feature is still there if you were to manually change it to a language string. We've modified this part to pre-translate before loading the configuration (hence causing it store as translated text because the input box now contains the translated text value) because we have various users feedback that not everyone is building a multilingual site, and as such showing the language string in the config panel as PLG_FIELDS_USER_JOOMLA_LANGUAGE_DEFAULT_TITLE does not make sense. Depending on the language of their site, PLG_FIELDS_USER_JOOMLA_LANGUAGE_DEFAULT_TITLE will be translated accordingly when loading up the config panel, and stored accordingly as well.

Make no mistake that if you were to change the title in the field config to "PLG_FIELDS_USER_JOOMLA_LANGUAGE_DEFAULT_TITLE", then it will be translated accordingly in the frontend if you have a multilingual site. We are trying to find a balance in between users who does not build multilingual site, and users who do.
·
Friday, 28 March 2014 12:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Jason,

1. In my case where the profiles has already been created, which language strings should I use?
2. a couple of questions:
a. Doesn't that defeat the whole purpose of a language selector?
b. Why would someone load the language selector on a single language site?
c. Also, if that is the case, why bother at all with providing default language strings on the rest of the profile fields, why not pre-translate them as you do with the language selector?
d. Why and how is this field/app different than the other ones?

Chaim
CK
·
Friday, 28 March 2014 22:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello CK,

Are you referring to the steps or? You will only face issues of already translated strings if you save them. Otherwise it should be as is (As language strings). You don't really need the language selector field if you are not building a multi lingual site but what Jason is pointing out here is, for users who are only building a site with a single language, looking at those strings doesn't really have any meaning at all and it would confuse them
·
Saturday, 29 March 2014 01:10
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post