RSS 2.0
Browse posts:
Unanswered |
Mark all read
| Author | Message | ||
|---|---|---|---|
|
Monkeybrain Nucleus PhD Joined: 15 Dec 2005 Posts: 525 Location: Kristiansand, Norway |
For some strange reason _ACTIONLOG_NEWMEMBER never gets translated on my latest Nucleus install v3.40 It doesn't get translated nomatter what language I try, and I can't quite figure out where it's coming from. The ACTIONS.php or the ADMIN.php ? I've checked the spelling in both english and norwegian language files, and they are the same. _________________ Is your question not solved yet? Search our FAQ, read the Documentation, or browse the list of available plugins. |
||
|
|
|||
|
ftruscot Nucleus Guru ![]() Joined: 22 Feb 2006 Posts: 7449 Location: Massachusetts |
That's odd, Monkeybrain. It's been in the file since the original internationalization around version 1.0. And it is in the english.php file delivered with 3.40. It looks like this:
Have you searched your language files for that string? _________________ Is your question not solved yet? Search our FAQ, read the Documentation, or browse the list of available plugins. Check out my plugins |
||
|
|
|||
|
verbaljam Nucleus PhD Joined: 31 Jul 2002 Posts: 668 Location: Amsterdam, The Netherlands |
Ftruscot, my translation was based on the differences with the previous version. In the previous version (that came with 3.33), I noticed that many of the things relating to the 'automatically safe draft' function had not been translated, so I did that. But I only used the file for myself (it wasn't a serious effort to make a complete translation). With the version 3.4 I looked at the differences on top of the file and which things popped up during use. As I said, feel free to combine the translations of Pheser and me. One suggestion: maybe it's best to clean up the whole language file and leave out all the annotations from previous versions and then combine all the functions that belong together. Assuming that a newer language file will work with previous versions of Nucleus as well, of course. _________________ verbal jam http://www.verbaljam.nl |
||
|
|
|||
|
verbaljam Nucleus PhD Joined: 31 Jul 2002 Posts: 668 Location: Amsterdam, The Netherlands |
Is there a chance that the real string must be: _ACTIONLOG_NEW_MEMBER ? Maybe you can give this a try... PS: ftruscot: the string is present in the Dutch language file. _________________ verbal jam http://www.verbaljam.nl |
||
|
|
|||
|
Monkeybrain Nucleus PhD Joined: 15 Dec 2005 Posts: 525 Location: Kristiansand, Norway |
Yes, the string is in my language file, but it never gets into the actionlog whenever a new member signs up. I always get the string-name in my log. As I said, I've tried with the english file aswell, and that doesn't work either. So something is most likely wrong with whatever function that's responsible for putting it in there. I've managed to chuck out most of the new translations for the v3.40 now, this is I think the last one I can't seem to make work. I'l give verbaljam's tip a go and see what happens. _________________ Is your question not solved yet? Search our FAQ, read the Documentation, or browse the list of available plugins. |
||
|
|
|||
|
ftruscot Nucleus Guru ![]() Joined: 22 Feb 2006 Posts: 7449 Location: Massachusetts |
Monkeybrain, if you see _ACTIONLOG_NEWMEMBER in your browser, then that is the constant that isn't being translated (defined) when your page loads the language file. It's really odd that that one constant isn't getting defined. Verbaljam, we've been putting new constants at the top of the file to make it easier for language file translators to know which new constants they must define. By recombining them into the original structure of the file, it would be a little harder to find the new ones. I know there are programs that will compare files and display the diffs, but not everyone knows about these things. What made this file different is that there were actually a lot of new constants, some that should have been in 3.3x, but weren't. These got spread out in a couple sections at the top and a big one at the bottom. Plus, it would be a whole lot of work to file each of these new constants into their proper sections in the file. _________________ Is your question not solved yet? Search our FAQ, read the Documentation, or browse the list of available plugins. Check out my plugins |
||
|
|
|||
|
Monkeybrain Nucleus PhD Joined: 15 Dec 2005 Posts: 525 Location: Kristiansand, Norway |
No luck on translating the strings, and now I've got both _ACTIONLOG_NEWMEMBER and _ACTIONLOG_NEW_MEMBER defined in both english and norwegian language files. Looking at the entries in the actionlog trough phpMyAdmin, reveals they also contain the stringname, rather than any translation. So my guess is the translation should be applied before it gets posted into the actionlog? I've tried moving the definations all the way up in the language files, but nothing seems to help. I'm kinda lost on where to look next... It's not a big deal tho, as I can live with it as it is. Only i get to see the actionlog anyway. Thnx for the tips tho.. _________________ Is your question not solved yet? Search our FAQ, read the Documentation, or browse the list of available plugins. |
||
|
|
|||
|
ftruscot Nucleus Guru ![]() Joined: 22 Feb 2006 Posts: 7449 Location: Massachusetts |
If those constants are in the db table, then they aren't going to be translated when they are retrieved and saved. You could write a mysql query to replace them with some english, or norwegien, strings, but ... It indicates that when those users registered, the language file of the admin area was missing that translation, or that the registration process failed to load the language file (unlikely because config.php has to get loaded sometime). _________________ Is your question not solved yet? Search our FAQ, read the Documentation, or browse the list of available plugins. Check out my plugins |
||
|
|
|||
|
Monkeybrain Nucleus PhD Joined: 15 Dec 2005 Posts: 525 Location: Kristiansand, Norway |
Well I now realise that those entries are most likely added by NP_phpBB plugin, as the entries are added when new users register on the forum, and also auto-creates them as users of the blog. Might be worth having a look at the plugin code then perhaps? _________________ Is your question not solved yet? Search our FAQ, read the Documentation, or browse the list of available plugins. |
||
|
|
|||
|
All times are GMT + 1 Hour
You cannot post new topics in this forum |
|||