By Ketil Jule Bjørnstad Belsaas on Thursday, 02 May 2019
Posted in General Issues
Replies 8
Likes 0
Views 617
Votes 0
Hi. I'm working with translation of PayPlan to Norwegian at my website. I followed your instruction and everything work fine, but how can I change the text to Norwegian appears on the green rounded button?
No. I copied the language file en-GB.com_payplans.ini to the map "site"/language/nb-NO and change the name to nb-NO.com_payplans.ini. Change the English text to Norwegian, but there are missing text strings.

In the file en-GB.com_payplans.ini I can't find the string COM_PP_PAID. However, I wrote in the string with a Norwegian translation, and voila, the text changed to Norwegian.

I work with the last version of PayPlans so it's strange not all the text stings are in the language file.

It seems like that is bug, because it always referring the English language translation file, for now can you try put this following language constants into this following file location and see how it goes?

JoomlaFolder/language/nb-NO/nb-NO.com_payplans.ini


COM_PP_SUBSCRIPTION_ACTIVE="Active"
COM_PP_SUBSCRIPTION_HOLD="Inactive"
COM_PP_SUBSCRIPTION_EXPIRED="Expired"
COM_PP_SUBSCRIPTION_NONE="None"
COM_PP_USERNAME="Username"
COM_PP_SELECT_COUNTRY="Select a Country"


Unfortunately currently that is not possible to translate the country name, but for now you can manually update this from your database under this table '#__payplans_country' , ensure that you have do the backup for this table before you do any changes.(screenshot : http://take.ms/82fZ0)
·
Saturday, 04 May 2019 12:14
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Ketil,

You can find the this language string near line no. 1288 on below mentioned file path.
root/administrator/language/en-GB/en-GB.com_payplans.ini

You need to override these language file to show text in Norwegian language.
https://stackideas.com/docs/payplans/administrators/customization/creating-language-overrides

Let me know if you have any query.
·
Thursday, 02 May 2019 18:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi!
I don't have the language string COM_PP_SUBSCRIPTON_ACTIVE, COM_PP_SUBSCRIPTON_HOLD, COM_PP_SUBSCRIPTON_EXPIRED or COM_PP_SUBSCRIPTON_NONE.

I have search for those string in the file en-GB.com_payplans.ini with the software Adobe Dreamweaver.
·
Thursday, 02 May 2019 21:08
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Ketil,

It seems like you are looking for the language string in wrong file as per screenshot attached above.

You are trying to find the language string in below mentioned file path.
root/language/en-GB/en-GB.com_payplans.ini

But instead,You can find the language string near line no. 1288 on below mentioned file path.
root/administrator/language/en-GB/en-GB.com_payplans.ini

Update me on this.
·
Friday, 03 May 2019 11:33
·
0 Likes
·
0 Votes
·
0 Comments
·
No. I copied the language file en-GB.com_payplans.ini to the map "site"/language/nb-NO and change the name to nb-NO.com_payplans.ini. Change the English text to Norwegian, but there are missing text strings.

In the file en-GB.com_payplans.ini I can't find the string COM_PP_PAID. However, I wrote in the string with a Norwegian translation, and voila, the text changed to Norwegian.

I work with the last version of PayPlans so it's strange not all the text stings are in the language file.
·
Friday, 03 May 2019 20:01
·
0 Likes
·
0 Votes
·
0 Comments
·
Another question about text strings.
See the attached picture.
·
Friday, 03 May 2019 20:12
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post