We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

language update | Forum

Topic location: Forum home » Support » General Questions
omer
omer Jan 26 '15
i uploaded 1.7.1 language to 1.7.2 and some title lost how can i add as manual..?
ross Team
ross Jan 26 '15
Go the language section and check whether the keys have the value, if yes, click on the save this page button. 


omer
omer Jan 27 '15
example "blogs+main_menu_item" seeking (blogs) there is no in my language.. how can i add ito my language
Marc Vanwetswinkel
Marc Vanwetswinkel Jan 27 '15
I asked the same question in another topic but got no answer yet. This is how I did it but maybe (I hope) there is an easier way.

Open Oxwall database (via phpmyadmin)

Click on base_language_value
Search for an unused value, I used the ning-links but there's a lot of other junk to be found like test, test1, eee, aaaa, dddd and so on.
Edit that value to what you want blogs+main_menu_item to show on your site.
Important: remember te keyId you edited

Click on base_language_prefix
Remember the id of the prefix blogs

Click on base_language_key
Find the entry with the keyId (id) from step one, the value you edited
Click on Edit
Change the prefixId to the number you found in step 2, the prefix for blogs
Change the key to main_menu_item

Go to you site via FTP

Find blogs.xml
Add a line: <key name="main_menu_item"><value>what you want to show on your site for this key (the value you entered in your database in step 1)</value></key>
Save

Find lang_#.php
Add a line:   'blogs+main_menu_item' => 'what you want to show ....',
Save

That should do it.

Note: if you have more than one active language you should also check base_language in the database for the id number of the language you are editing.  The value you edit in step 1 must be one with that languageid.
It's also the number of # in lang_#.php you have to find via FTP.

The Forum post is edited by Marc Vanwetswinkel Jan 27 '15
Marc Vanwetswinkel
Marc Vanwetswinkel Jan 27 '15

Quote from ross Go the language section and check whether the keys have the value, if yes, click on the save this page button. 



Would be handy if you could do a key-search in the language editor. Unless I missed something one can only do a value-search. So if a key has no value, it's very hard to find that key. There's 3000+ empty keys in the language file the package installed.
omer
omer Jan 28 '15
Marc i am trying export and donwload english xml file edit and upload my language but not seeking? i didnt find my lang.php where is it?
Marc Vanwetswinkel
Marc Vanwetswinkel Jan 28 '15
Hi omer

The php-file I found in www/ow_pluginfiles/base (see image)

www could be something else for you, dependent on your host. It can also be httpdocs or public_html or something like that, the folder where you have installed oxwall.

The xml-file I found in www/ow_pluginfiles/admin/languages/import/language_nl-BE (see image (I don't have blogs installed but you should see blogs.xml there))

nl-BE will also be something else for you, dependent on what language you are editing.

Hope this helps
Marc
The Forum post is edited by Marc Vanwetswinkel Jan 28 '15
Attachments:
  blogs.xml.jpg (46Kb)
  lang_#.php.jpg (9Kb)
ross Team
ross Jan 28 '15
Omer, if you want to add this language key, follow this instructions:
http://www.oxwall.org/forum/topic/31550?page=1#post-132487

to do the search by keys in the language section you just need to enter www.site.com/admin/dev-tools/langugages and you'll see a check-box "in keys" next to the search area.
omer
omer Jan 29 '15
Marc i see in there already exist blogs+main_menu_item but not seeking menu pages 

still seeking   logs+main_menu_item


Ross i am adding with www.site.com/admin/dev-tools/langugages  and error giving already exist

ross Team
ross Jan 29 '15
Try less keywords from the key like main_menu or menu_item
What error giving are you referring to? provide screenshot
omer
omer Jan 29 '15
Marc i added before as manual so error giving already exist "blogs+main_menu_item" Blogs also iam seeking searhing yes exist already but noot seeking menu pages still 
The Forum post is edited by omer Jan 29 '15
omer
omer Jan 29 '15
its error giving "sorry key already exist" how can i delete the key i wil type again with convert
The Forum post is edited by omer Jan 29 '15
ross Team
ross Jan 29 '15
in the drop down menu choose Blogs section in the search, type less keywords like 'main'
check if you have value, if yes, click on the "save this page" button at the bottom, to recompile language cache
omer
omer Jan 29 '15
this key not in blogs section it is Base.  blogs+main_menu_item


i need to delete this key and retype again with convert

The Forum post is edited by omer Jan 29 '15
omer
omer Jan 29 '15
ok i found delete
omer
omer Jan 29 '15
haa ok i am understand Ross, when i save page its clean the cache  ok... its done
ross Team
ross Jan 29 '15
So did the value appear?
omer
omer Jan 29 '15
Yes Ross but i added before as manuel download base.xml add adn import


Marc i learnt the correct way firstly we will download pages and open as xml and convert or add a new key after 


go Language manager and search the key example blogs and just click under save the page  if you dont save not seeking



Marc Vanwetswinkel
Marc Vanwetswinkel Jan 29 '15
Ok Omer, nice you found out as well.

Thanks Ross, dev-tools/languages makes it easy as pie :-)

omer
omer Jan 29 '15
Ross i only used dev tools and add the key adn save  but not working
Pages: 1 2 »